Skip to content

CLI Commands

Practical arcane-cli invocations for everyday tasks.

The arcane-cli commands you’ll use most often, grouped by task. For the full flag list run arcane-cli <command> --help, and for the complete command tree run arcane-cli --help.

Set your server URL and sign in first. See CLI Configuration.

Log in interactively with the device-code flow:

Terminal window
arcane-cli auth login

Check who you’re signed in as, or sign out:

Terminal window
arcane-cli auth me
Terminal window
arcane-cli auth logout

For CI, use an API key or a federated credential instead of an interactive login — see Federated Credentials.

Most resource commands act on your default environment. Set it once:

Terminal window
arcane-cli environments switch

Or override it for a single command with --env:

Terminal window
arcane-cli containers list --env 2

List environments and check one is reachable:

Terminal window
arcane-cli environments list
Terminal window
arcane-cli environments test 2
Terminal window
arcane-cli containers list
Terminal window
arcane-cli containers get my-container
Terminal window
arcane-cli containers restart my-container

Show which containers have a newer image available:

Terminal window
arcane-cli containers updates

Pull the newer image and recreate the container:

Terminal window
arcane-cli containers update my-container
Terminal window
arcane-cli projects list

Bring a project up, or take it down:

Terminal window
arcane-cli projects up my-project
Terminal window
arcane-cli projects down my-project

Pull the latest images and restart:

Terminal window
arcane-cli projects redeploy my-project

Remove a project and its resources:

Terminal window
arcane-cli projects destroy my-project
Terminal window
arcane-cli images list
Terminal window
arcane-cli images pull nginx:latest

Reclaim space:

Terminal window
arcane-cli images prune
Terminal window
arcane-cli volumes sizes

Find out what’s using a volume before you remove it:

Terminal window
arcane-cli volumes usage my-volume
Terminal window
arcane-cli gitops list

Check a sync’s state, then run it now:

Terminal window
arcane-cli gitops status my-sync
Terminal window
arcane-cli gitops sync my-sync

Free up space across the environment:

Terminal window
arcane-cli system prune

Check whether an Arcane upgrade is available, and apply it:

Terminal window
arcane-cli system upgrade --check
Terminal window
arcane-cli system upgrade

Turn a docker run command into Compose:

Terminal window
arcane-cli system convert "docker run -d -p 8080:80 nginx"

Get an overview of scan results, or the full findings list:

Terminal window
arcane-cli images vulnerabilities summary
Terminal window
arcane-cli images vulnerabilities list

Scan an image now, or show one image’s findings:

Terminal window
arcane-cli images vulnerabilities scan nginx:latest
Terminal window
arcane-cli images vulnerabilities image nginx:latest

Silence a CVE you’ve reviewed (and list or undo ignores with ignored / unignore):

Terminal window
arcane-cli images vulnerabilities ignore CVE-2026-1234

Manage Arcane system backups from the terminal:

Terminal window
arcane-cli admin backups list
Terminal window
arcane-cli admin backups create
Terminal window
arcane-cli admin backups restore <backup-id>

There are also subcommands for retention policies (policies), the recovery key (recovery), uploading a local backup to S3 (upload), and finding S3 restore points not in the database (discover).

Follow what the server is doing:

Terminal window
arcane-cli activities list
Terminal window
arcane-cli activities get <activity-id>

Manage webhooks, or fire one by its token:

Terminal window
arcane-cli webhooks list
Terminal window
arcane-cli webhooks trigger <token>

Inspect the automatic updater and trigger a run:

Terminal window
arcane-cli updater status
Terminal window
arcane-cli updater run
Terminal window
arcane-cli updater history

History shows one row per resource — resource, type, status, whether the update was applied, and when it started. Use --limit (-n) to change how many entries you get back; the default is 50.

Terminal window
arcane-cli self-update run

Switch between the stable and next release channels:

Terminal window
arcane-cli self-update channel next

Diagnose connectivity and configuration problems:

Terminal window
arcane-cli doctor

Install shell completion:

Terminal window
arcane-cli completion zsh

Generate secrets and certificates for a new install:

Terminal window
arcane-cli generate secret

Every command accepts --output json (or the shorthand --json), which makes the CLI easy to pair with jq:

Terminal window
arcane-cli containers list --json | jq -r ".[].name"

Add --yes to skip confirmation prompts in unattended scripts.

List commands are paginated. --all (-a) returns every item, ignoring pagination — it cannot be combined with --limit or --start:

Terminal window
arcane-cli containers list --all --json