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

To check release signatures before updating, turn on the signature verification preview.

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 ".data[].name"

In JSON mode, stdout carries exactly one JSON document. Status messages and progress go to stderr. List commands print the server’s paginated response with data and pagination. Other commands print only the resource or result. images pull, images build, and the streaming projects commands print an array of the server’s progress frames once the operation finishes.

Commands that remove or reset resources ask for confirmation first. Add --yes to skip confirmation prompts in unattended scripts. On delete commands, --force skips the prompt too.

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

Some flags were renamed so they no longer clash with the global --env, --config, and --output flags, or to replace a separate off switch. The old names still work but print a deprecation warning, and they will be removed in v3. Update your scripts to the new names:

Command Old flag New flag
containers create --env --env-var, -e
admin notifications settings set --config --provider-config
templates download --output --output-file, -o
environments create, environments update, registries create, registries update, templates registries update, admin federated update, admin backups policies update --disabled --enabled=false