Skip to main content
Use the CLI when Almanac needs local files, a person is working interactively, or a coding agent can run terminal commands.
curl -fsSL https://usealmanac.com/install.sh | sh
almanac setup

The everyday loop

almanac link acme/company-handbook
almanac upload docs/
almanac jobs wait last
almanac search "customer onboarding"
almanac show onboarding/getting-started --sources
The link gives the directory durable context. Upload adds original evidence; the job updates pages; search and show verify the result.

Make the target explicit

almanac search "customer onboarding" --wiki acme/handbook
An explicit --wiki overrides the environment and directory link. See Create and link a wiki for the visual selection model.

Authenticate a program

export ALMANAC_TOKEN="waka_..."
almanac search "customer onboarding" --wiki acme/handbook
Use browser login for people and workspace API keys for programs. A token supplied with --token or ALMANAC_TOKEN does not replace the saved browser login.

Automate the CLI

Use serialized writes, JSON output, and exit codes.

Open the CLI reference

Scan commands by task and discover help.