> ## Documentation Index
> Fetch the complete documentation index at: https://bd64770-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://bd64770-archee-studio.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://bd64770-archee-studio.manicule.dev/api/mcp.
> Every agent surface: https://bd64770-archee-studio.manicule.dev/.well-known/llms-manifest.json

# Commands (/cli/commands)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 309 · updated: 2026-12-05 -->
Related: [Connect your computer](/cli/connect.md), [The agentcad command](/cli/agentcad.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 is one lowercase word. Every command takes `--json` and `--help`. Plain `archee` shows your sign-in status and the next step.

To run the open engine locally (search, calculate, `.arc` files), see [The agentcad command](/cli/agentcad).

## 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).
