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

# CLI overview

> Every command, and which ones you actually run.

```bash theme={"theme":"nord"}
npm install -g resumecontext
```

Most days you run none of these. The daemon syncs on its own. The ones you
touch are `auth` once per machine, `init` once per project, and `mcp` when you
set up an agent.

## Commands

| Command                                     | What it does                                     |
| ------------------------------------------- | ------------------------------------------------ |
| [`auth`](/docs/cli/auth)                         | Log in to resumecontext.com (opens your browser) |
| [`logout`](/docs/cli/auth#logout)                | Clear this machine's stored session              |
| [`init`](/docs/cli/init)                         | Connect this directory to a project              |
| [`sync`](/docs/cli/sync)                         | Push local coding-agent history for this project |
| [`mcp`](/docs/cli/mcp)                           | Show the MCP URL and token for your agent        |
| [`agents`](/docs/cli/agents)                     | Choose which coding agents to sync from          |
| [`share`](/docs/cli/sharing)                     | Invite someone to this project                   |
| [`accept`](/docs/cli/sharing#accept)             | Accept a pending invite                          |
| [`revoke`](/docs/cli/sharing#revoke)             | Remove someone's access                          |
| [`members`](/docs/cli/sharing#members)           | List everyone with access                        |
| [`projects list`](/docs/cli/projects)            | List projects you own or can access              |
| [`projects delete`](/docs/cli/projects#delete)   | Permanently delete a project                     |
| [`daemon status\|start\|stop`](/docs/cli/daemon) | Manage background auto-sync                      |
| [`uninstall`](/docs/cli/uninstall)               | Stop auto-sync and delete local state            |

## Global options

| Option            | Effect                                      |
| ----------------- | ------------------------------------------- |
| `--debug`         | Show full stack traces on unexpected errors |
| `-V`, `--version` | Print the CLI version                       |
| `-h`, `--help`    | Show help for any command                   |

<Note>
  Commands that act on a project must be run **inside a directory that has been
  `init`ed**, because that is how the CLI knows which project you mean.
</Note>
