# CLI reference

<!-- Generated by web/apps/docs/scripts/gen-reference.ts from the Atuin source. Do not edit. -->

Every command `atuin` and `atuin-server` take, generated from the source of this release.
Run any of them with `--help` for the same text in your terminal.

Magical shell history

```sh
atuin <COMMAND>
```

## Commands

| Command | Description |
| --- | --- |
| [`atuin search`](/reference/cli/search/) | Interactive history search |
| [`atuin output`](/reference/cli/output/) | Work with captured command output |
| [`atuin stats`](/reference/cli/stats/) | Calculate statistics for your history |
| [`atuin sync`](/reference/cli/sync/) | Sync with the configured server |
| [`atuin login`](/reference/cli/login/) | Login to the configured server |
| [`atuin logout`](/reference/cli/logout/) | Log out |
| [`atuin register`](/reference/cli/register/) | Register with the configured server |
| [`atuin key`](/reference/cli/key/) | Print the encryption key for transfer to another machine |
| [`atuin status`](/reference/cli/status/) | Display the sync status |
| [`atuin account`](/reference/cli/account/) | Manage your sync account |
| [`atuin history`](/reference/cli/history/) | Manipulate shell history |
| [`atuin setup`](/reference/cli/setup/) | Setup Atuin features |
| [`atuin init`](/reference/cli/init/) | Print Atuin's shell init script |
| [`atuin import`](/reference/cli/import/) | Import shell history from file |
| [`atuin doctor`](/reference/cli/doctor/) | Run the doctor to check for common issues |
| [`atuin kv`](/reference/cli/kv/) | Get or set small key-value pairs |
| [`atuin store`](/reference/cli/store/) | Manage the atuin data store |
| [`atuin dotfiles`](/reference/cli/dotfiles/) | List legacy synced dotfiles data |
| [`atuin scripts`](/reference/cli/scripts/) | Manage your scripts with Atuin |
| [`atuin hook`](/reference/cli/hook/) | Record the commands an AI agent runs, from its hooks |
| [`atuin threads`](/reference/cli/threads/) | Search, read and resume your coding agents' captured threads |
| [`atuin resume`](/reference/cli/resume/) | Pick a captured coding-agent thread and resume it (short for `atuin threads resume`) |
| [`atuin mcp`](/reference/cli/mcp/) | Start an MCP server exposing history search to AI tools (stdio) |
| [`atuin wrapped`](/reference/cli/wrapped/) | Show a fun, year-in-review recap of your shell history |
| [`atuin default-config`](/reference/cli/default-config/) | Print the default atuin configuration (config.toml) |
| [`atuin config`](/reference/cli/config/) | Get, set, or print values in your atuin config file |
| [`atuin workspace`](/reference/cli/workspace/) | Set up the .atuin.lua config file of a project |
| [`atuin info`](/reference/cli/info/) | Information about Atuin data locations and ENV vars |
| [`atuin daemon`](/reference/cli/daemon/) | Manage the background daemon |
| [`atuin pty-proxy`](/reference/cli/pty-proxy/) | PTY proxy for atuin |
| [`atuin contributors`](/reference/cli/contributors/) | List the people who have contributed to Atuin |
| [`atuin gen-completions`](/reference/cli/gen-completions/) | Generate shell completions |
| [`atuin-server`](/reference/cli/atuin-server/) | Atuin sync server |