---
title: "spell CLI"
type: reference
kind: reference
documentedFor: "1.24.1"
updated: "2026-11-19"
canonical: "https://arcaneai.net/docs/reference/cli"
---

# spell CLI

Every command below is captured from `spell --help` of the released arcane-cli 1.24.1 package, so it matches what `npm install -g arcane-cli@1.24.1` installs.

## Usage

```text
Usage: spell [options] [command]

Arcane framework CLI — scaffold and manage governance files

Options:
  -V, --version                  output the version number
  -h, --help                     display help for command

Commands:
  init [options]                 Scaffold Arcane framework files into the
                                 current repository
  add [options] <components...>  Add one or more components to an existing
                                 Arcane installation, in order; stops at the
                                 first failure
  update [options]               Update installed components to the current
                                 package version
  status [options]               Show installed components and check for
                                 updates
  state [options]                Export this repository's Arcane state as one
                                 JSON document (package schema:
                                 dist/assets/schemas/state.schema.json)
  uninstall [options]            Remove all installed Arcane framework files
  block-push                     Enforce push_policy: blocked on this
                                 repository (pre-push hook + disabled push
                                 URLs); only ever tightens
  unblock-push                   Lift this repository's push block (interactive
                                 terminal only)
  login [options]                Sign in to your Arcane account (browser by
                                 default; the session is kept in the OS
                                 keychain)
  logout                         Sign out on this machine: remove the stored
                                 session
  whoami [options]               Show who is signed in; exits 1 when signed out
  doctor [options]               Check your environment for Arcane
                                 prerequisites
  ward [options]                 Scan the repo for leaked identifiers --
                                 third-party trademarks and the operator's own
                                 personal identifiers alike (T18)
  report [options]               Generate a program's Show Report
                                 (show-report.json + .html) from
                                 docs/plans/<slug>/PLAN.md, OPERATOR-QUEUE.md
                                 and the verification ledger -- offline, no
                                 network (ARC-042)
  agents                         Manage the portable agent system (init, sync,
                                 list)
  grant                          Read-only run-grant record checks; operator
                                 consent and execution/platform gates remain
  presence                       The local presence channel: which session
                                 works on what, right now (ARC-060). Loopback
                                 only; nothing runs until `serve`
```

## Commands

| Command | What it does |
| --- | --- |
| [`spell add`](/docs/reference/cli-add) | Add one or more components to an existing Arcane installation, in order; stops at the first failure |
| [`spell agents`](/docs/reference/cli-agents) | Manage the portable agent system (init, sync, list) |
| [`spell block-push`](/docs/reference/cli-block-push) | Enforce push_policy: blocked on this repository (pre-push hook + disabled push URLs); only ever tightens |
| [`spell doctor`](/docs/reference/cli-doctor) | Check your environment for Arcane prerequisites |
| [`spell grant`](/docs/reference/cli-grant) | Read-only run-grant record checks; operator consent and execution/platform gates remain |
| [`spell init`](/docs/reference/cli-init) | Scaffold Arcane framework files into the current repository |
| [`spell login`](/docs/reference/cli-login) | Sign in to your Arcane account (browser by default; the session is kept in the OS keychain) |
| [`spell logout`](/docs/reference/cli-logout) | Sign out on this machine: remove the stored session |
| [`spell presence`](/docs/reference/cli-presence) | The local presence channel: which session works on what, right now (ARC-060). Loopback only; nothing runs until `serve` |
| [`spell report`](/docs/reference/cli-report) | Generate a program's Show Report (show-report.json + .html) from docs/plans/<slug>/PLAN.md, OPERATOR-QUEUE.md and the verification ledger -- offline, no network (ARC-042) |
| [`spell state`](/docs/reference/cli-state) | Export this repository's Arcane state as one JSON document (package schema: dist/assets/schemas/state.schema.json) |
| [`spell status`](/docs/reference/cli-status) | Show installed components and check for updates |
| [`spell unblock-push`](/docs/reference/cli-unblock-push) | Lift this repository's push block (interactive terminal only) |
| [`spell uninstall`](/docs/reference/cli-uninstall) | Remove all installed Arcane framework files |
| [`spell update`](/docs/reference/cli-update) | Update installed components to the current package version |
| [`spell ward`](/docs/reference/cli-ward) | Scan the repo for leaked identifiers -- third-party trademarks and the operator's own personal identifiers alike (T18) |
| [`spell whoami`](/docs/reference/cli-whoami) | Show who is signed in; exits 1 when signed out |

## Global options

| Option | Description |
| --- | --- |
| `-V, --version` | output the version number |
| `-h, --help` | display help for command |
