> ## Documentation Index
> Fetch the complete documentation index at: https://366854c-archee-studio.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://366854c-archee-studio.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://366854c-archee-studio.manicule.dev/api/mcp.
> Every agent surface: https://366854c-archee-studio.manicule.dev/.well-known/llms-manifest.json

# Commands (/cli/commands)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 269 · updated: 2026-11-26 -->
Related: [Connect your computer](/cli/connect.md), [Archee CLI troubleshooting](/cli/troubleshooting.md)

> Every archee command, its environment variables and its exit codes.

## Commands

* `archee connect [FOLDER]` serves a folder (default: this one) until Ctrl-C, signing in if needed. `--name NAME` sets the name shown in Archee; the default comes from your computer and folder names.
* `archee login` signs you in with a short code in your browser and keeps you signed in.
* `archee whoami` shows who is signed in.
* `archee logout` ends the sign-in.
* `archee update` installs the latest release over this one.

Every command takes `--json`. Plain `archee` shows your sign-in status and the next step.

## Environment

* `ARCHEE_TOKEN` signs in with a token instead of the browser.
* `ARCHEE_URL` points to another server. The default is `https://app.archee.studio`.

The token and server are never flags, because arguments show up in process lists.

## Exit codes

`0` means success, `1` an error, `2` a usage error and `3` that sign-in is needed.

## Source

The CLI is open source under Apache-2.0: [Archee-Studio/archee-cli](https://github.com/Archee-Studio/archee-cli).
