Cal Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

Cal Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

cal

Prints calendar information, with the current day highlighted.

Maintainer: Debian Bsdmainutils Team


Section: utils

Install cal

  • Debian apt-get install bsdmainutils Click to copy
  • Ubuntu apt-get install bsdmainutils Click to copy
  • Alpine OS apk add util-linux Click to copy
  • Arch Linux pacman -S util-linux Click to copy
  • Kali Linux apt-get install bsdmainutils Click to copy
  • CentOS yum install util-linux Click to copy
  • Fedora dnf install util-linux Click to copy
  • Raspbian apt-get install bsdmainutils Click to copy
  • macOS brew install util-linux Click to copy

Prints calendar information, with the current day highlighted.

How to use cal?

Below are few example commands for cal that you can use in the terminal.

Display a calendar for the current month:
calClick to copy
Display previous, current and next month:
cal -3Click to copy
Use monday as the first day of the week:
cal --mondayClick to copy
Display a calendar for a specific year (4 digits):
cal yearClick to copy
Display a calendar for a specific month and year:
cal month yearClick to copy
Installation of latest cal command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.