Print a Calendar With ncal
Show a month or year calendar oriented for quick date lookup.
Run ncal 12 2026 to print December 2026.
01Command
Command
$ ncal 12 202602What 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
!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 manualEvidence: Displays a calendar; ncal adds layout options and is included with macOS.
Last verified: 2026-09-20 · Category: System & Settings
06Related solutions
A Big Digital Clock in the Terminal With tty-clock
Turn the terminal into a full-screen clock with optional seconds.
Change where screenshots are saved on Mac
Point macOS screen captures at any folder you choose instead of the desktop.
Download a file from a URL on Mac with curl
Grab any file from the web straight into the current folder — no browser needed.