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

# spell update

## Usage

```text
Usage: spell update [options]

Update installed components to the current package version

Options:
  --dry-run                       Preview what would be updated without making
                                  changes
  --prune                         Also delete orphaned managed files (tracked
                                  before this update, no longer part of any
                                  current component). Hash-checked: an edited
                                  file is reported, never silently deleted
  --user                          Operate on the per-user tier at ~/.arcane —
                                  spells shared by every repository on this
                                  machine, fanned out to ~/.agents/skills
                                  (Codex, Copilot) and ~/.claude/commands
                                  (Claude Code)
  --add-new                       Also install the components your profile
                                  gained since your install (never an initOnly
                                  component, never over an existing file).
                                  Without it a terminal asks and a script
                                  installs nothing
  --default-scope <scope>         With --user: remember repo | user as the
                                  answer `spell init` pre-selects for NEW
                                  repositories on this machine. Never rewrites
                                  an existing repository, and the question is
                                  still asked
  --role <role>                   Answer the hub question: hub | consumer
  --tracking-mode <mode>          Answer the tracking question: internal |
                                  external (external needs --external-provider)
  --external-provider <provider>  With --tracking-mode external: ado | github |
                                  jira | other
  --content-sensitivity <level>   Answer the content question: standard |
                                  sensitive
  --push-policy <policy>          Answer the push question: open | guarded |
                                  blocked. Can tighten a recorded policy, never
                                  loosen it (use `spell unblock-push`)
  --subject-root <path>           Answer the subject question with a directory
                                  (docs profile)
  -h, --help                      display help for command
```

## Options

| Option | Description |
| --- | --- |
| `--dry-run` | Preview what would be updated without making changes |
| `--prune` | Also delete orphaned managed files (tracked before this update, no longer part of any current component). Hash-checked: an edited file is reported, never silently deleted |
| `--user` | Operate on the per-user tier at ~/.arcane — spells shared by every repository on this machine, fanned out to ~/.agents/skills (Codex, Copilot) and ~/.claude/commands (Claude Code) |
| `--add-new` | Also install the components your profile gained since your install (never an initOnly component, never over an existing file). Without it a terminal asks and a script installs nothing |
| `--default-scope <scope>` | With --user: remember repo \| user as the answer `spell init` pre-selects for NEW repositories on this machine. Never rewrites an existing repository, and the question is still asked |
| `--role <role>` | Answer the hub question: hub \| consumer |
| `--tracking-mode <mode>` | Answer the tracking question: internal \| external (external needs --external-provider) |
| `--external-provider <provider>` | With --tracking-mode external: ado \| github \| jira \| other |
| `--content-sensitivity <level>` | Answer the content question: standard \| sensitive |
| `--push-policy <policy>` | Answer the push question: open \| guarded \| blocked. Can tighten a recorded policy, never loosen it (use `spell unblock-push`) |
| `--subject-root <path>` | Answer the subject question with a directory (docs profile) |
| `-h, --help` | display help for command |
