# khal

> Standards-based CLI and terminal calendar that syncs with CalDAV through vdirsyncer

Source: https://talira.ai/catalog/khal-hgg2dw9d
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [productivity / calendars](https://talira.ai/categories/productivity/calendars)
- Platforms: linux, macos, cli[^2]
- Licence: MIT[^3]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Self-hostable: yes[^3]
- Backed by: [pimutils](https://talira.ai/orgs/pimutils.md)

khal is an open source command-line and terminal calendar. It reads and writes events as iCalendar files in a vdir folder, so vdirsyncer can synchronize them with CalDAV servers and other calendar programs. You add events quickly from the command line, list upcoming events and agendas, and use ikhal, its interactive terminal interface, to browse and edit calendars and events. It's written in Python 3.10+, runs on Linux, macOS and other Unix-like systems but not on Windows, is packaged for most distributions and Homebrew, and is MIT licensed. It's part of the pimutils tools alongside todoman and vdirsyncer.

## Links

- Website: https://khal.readthedocs.io/
- GitHub: https://github.com/pimutils/khal
- Docs: https://khal.readthedocs.io/en/latest/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/khal>[^1]

## Problems it solves

- a calendar I can use from the terminal
- add events to my CalDAV calendar from the command line
- see today's agenda in my terminal
- a terminal calendar that syncs with my own CalDAV server
- manage my calendar without a GUI on Linux
- browse and edit calendar events in a TUI
- keep my calendar as plain iCalendar files on disk

## Features

- reads and writes iCalendar events in a vdir
- CalDAV sync through vdirsyncer
- quick event creation from the command line
- agenda and calendar listings
- ikhal interactive terminal UI to browse and edit events

## Limitations

- Doesn't run on Microsoft Windows[^2]
- You cannot edit the timezones of events[^2]
- Only rudimentary support for creating and editing recurrence rules[^2]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- backed by pimutils

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [gcalcli](https://talira.ai/catalog/gcalcli-dvep71np.md): Google Calendar Command Line Interface
- [Google Calendar](https://talira.ai/catalog/google-calendar-3yasggkx.md): Shareable online calendar and scheduling
- [Fantastical](https://talira.ai/catalog/fantastical-08mqb71v.md): The calendar and tasks app you won't be able to live without

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 22 Nov 2026)
[^2]: https://khal.readthedocs.io/en/latest/ (checked 22 Nov 2026)
[^3]: https://github.com/pimutils/khal (checked 22 Nov 2026)
