> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usealmanac.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI reference

> Find the hosted Almanac command for a task.

Run `almanac COMMAND --help` for every flag and argument.

| Task                                                                     | Command                                                          |
| ------------------------------------------------------------------------ | ---------------------------------------------------------------- |
| Install agent guidance and authenticate                                  | `almanac setup`                                                  |
| Inspect local endpoint, credential, nearest directory link, and guidance | `almanac doctor`                                                 |
| Authenticate or inspect identity                                         | `almanac login` · `almanac whoami` · `almanac logout`            |
| List or create workspaces                                                | `almanac workspaces` · `almanac workspaces create TITLE`         |
| List or create wikis                                                     | `almanac wikis` · `almanac wikis create TITLE --workspace VALUE` |
| Link or unlink a project                                                 | `almanac link HANDLE` · `almanac unlink`                         |
| Upload evidence                                                          | `almanac upload PATH...`                                         |
| List or follow jobs                                                      | `almanac jobs` · `show` · `events` · `tail` · `wait`             |
| Search or read pages                                                     | `almanac search QUERY` · `almanac show PAGE`                     |
| Browse pages and topics                                                  | `almanac pages list` · `almanac pages tree` · `almanac topics`   |
| Inspect original evidence                                                | `almanac sources list` · `tree` · `search` · `show` · `download` |
| Maintain pages                                                           | `almanac garden --guidance TEXT`                                 |
| Manage keys and billing                                                  | `almanac keys` · `almanac billing`                               |
| Print update instructions                                                | `almanac update`                                                 |

Wiki commands accept `--wiki HANDLE`, `--token TOKEN`, and `--json` as global
options before or after the command. See [Use the CLI](/cli/overview) for a
task-oriented introduction and [Automate the CLI](/cli/automation) for output behavior.
