LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gcalcli

command-line interface for Google Calendar

TLDR

Show agenda for the next 5 days
$ gcalcli agenda
copy
List calendars
$ gcalcli list
copy
Show weekly calendar view
$ gcalcli calw
copy
Show monthly calendar view
$ gcalcli calm
copy
Add event with details
$ gcalcli add --title "[title]" --when "[tomorrow 2pm]" --duration [60] --where "[location]"
copy
Quick add event using natural language
$ gcalcli quick "[Meeting tomorrow at 3pm]"
copy
Search events
$ gcalcli search "[query]"
copy
Import events from an ICS file
$ gcalcli import [path/to/events.ics]
copy
Delete event
$ gcalcli delete "[event title]"
copy

SYNOPSIS

gcalcli [options] command [args]

DESCRIPTION

gcalcli is a command-line interface for Google Calendar that enables terminal-based calendar management without opening a web browser. It authenticates via OAuth 2.0 and provides full access to your Google Calendar data.The tool supports both viewing operations like agenda and calendar displays, and modification operations including creating, editing, and deleting events. Quick add functionality allows natural language event creation, while the structured add command provides precise control over event details.gcalcli is particularly useful for terminal-centric workflows, automation scripts, and integration with other command-line tools. It can display calendar data in various formats and supports working with multiple calendars simultaneously.

PARAMETERS

--calendar name

Specify calendar.
--title text
Event title.
--when time
Event start time.
--duration minutes
Event duration.
--where location
Event location.
--lineart type
Line art style: fancy, unicode, or ascii.
--nocache
Execute command without using cache.
--locale LOCALE
Set locale for date/time output.
--refresh
Delete and refresh cached data.

CONFIGURATION

~/.gcalclirc

Configuration file with commonly-used CLI options, one per line. Can also use @file syntax to load options from any file.
~/.gcalcli_oauth
OAuth 2.0 credentials for Google Calendar API access.

SUBCOMMANDS

agenda

Show upcoming events.
list
List calendars.
calw
Weekly calendar view.
calm
Monthly calendar view.
add
Add an event.
quick
Quick add event.
search
Search events.
delete
Delete an event.
edit
Edit an event.
import
Import events from an ics/vcal file.
remind
Execute a command if event occurs within a specified time.

INSTALL

sudo zypper install gcalcli
copy
brew install gcalcli
copy
nix profile install nixpkgs#gcalcli
copy

SEE ALSO

gcal(1), calcurse(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid