Print a Calendar With ncal

Show a month or year calendar oriented for quick date lookup.

macOSsystemTerminalLow risk
Run ncal 12 2026 to print December 2026.

01Command

Command
$ ncal 12 2026

02What it does

ncal prints a calendar from the command line and, unlike cal, lays the week out vertically so it is easy to read at a glance. Pass a month and year for a single month, one year for the whole year, and -h to use the traditional horizontal layout.

03Risk

RiskLow risk
CompatibilitymacOS (built-in)
!Warning: Arguments are month then year on macOS; some Linux versions accept the same order but check your local man page.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • ncal(1) — FreeBSD manual
    FreeBSD · technical · 2026-09-20
    Evidence: Displays a calendar; ncal adds layout options and is included with macOS.

Last verified: 2026-09-20 · Category: System & Settings

06Related solutions