---
title: "Update Arcane"
type: how-to
kind: how-to
documentedFor: "1.14.0"
updated: "2026-10-30"
canonical: "https://arcaneai.net/docs/how-to/update-arcane"
---

# Update Arcane

Move the CLI and a repository's Arcane files to a new release without losing your edits.

## Prerequisites

- A git repository with Arcane installed by `spell init`.
- Everything in it committed. `spell update` refuses to run over uncommitted changes or outside a git repository.

## Steps

1. Update the CLI, then check its version.

   ```arcane
   npm install -g arcane-cli
   ```

   ```arcane
   spell --version
   ```

   ```text
   1.14.0
   ```

2. Preview the update in the repository. It lists each file it would update or preserve, and any setup questions still unanswered.

   ```arcane
   spell update --dry-run
   ```

   ```text
   [dry-run] Would update 198 files.
   [dry-run] Would ask 4 manifest retrofit questions: role, tracking_mode, content_sensitivity, push_policy.
   ```

3. Run the update. A managed file you edited is three-way merged with the new version, and where your edit and the release disagree you get conflict markers to resolve, as in a git merge.

   ```arcane
   spell update
   ```

   ```text
     Merged your edits into: .arcane/governance/naming-conventions.md
   …
   ✓ Updated 198 files.
   ```

4. Commit the update. Check that `git status --short` lists only Arcane's files before you stage them.

   ```bash
   git status --short
   git add -A
   git commit -m "Update Arcane"
   ```

5. If the update printed `Skipped N manifest questions`, it had no terminal to ask them in. Answer them with the flags it printed, for example:

   ```arcane
   spell update --role consumer --tracking-mode internal --content-sensitivity standard --push-policy guarded
   ```

   ```text
   Recorded from flags:
       role: "consumer"
       tracking_mode: "internal"
       external_provider: null
       content_sensitivity: "standard"
       push_policy: "guarded"
   ```

6. Commit the answers. Check that `git status --short` lists only Arcane's files before you stage them.

   ```bash
   git status --short
   git add -A
   git commit -m "Answer the Arcane setup questions"
   ```

## Verify it worked

`spell status` lists every installed component with its version, which now matches the CLI.

```arcane
spell status
```

```text
  Component                        Files  Version
  -------------------------------  -----  -------
  git-conventions                      1  1.14.0
```

## Related

- Every option, including installing components your profile gained (`--add-new`) and removing files a release dropped (`--prune`): [`spell update`](/docs/reference/cli-update) and [`spell status`](/docs/reference/cli-status).
- Checking for a newer release from inside a session: [`spell-arcane-version`](/docs/reference/spell-arcane-version).
