Skip to content

CLI Commands

Practical arcane-cli invocations for everyday tasks.

Find the arcane-cli commands you’ll use most, grouped by task. First set your server URL and sign in (see CLI Configuration). Run arcane-cli <command> --help for all flags, or arcane-cli --help for the full command tree.

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

List every permission you hold in each environment and the bindings that grant them:

Terminal window
arcane-cli auth me --effective

For CI, use an API key or a federated credential instead. See Federated Credentials.

Commands cover every environment by default. Use --env for just one:

Terminal window
arcane-cli containers list --env 2

Changes without --env ask for confirmation before they run in all environments. See Work across environments.

List environments and check one is reachable:

Terminal window
arcane-cli environments list
Terminal window
arcane-cli environments test 2

Add an environment. The CLI prints its API key once, then the docker run and Compose commands to start the agent on the remote host:

Terminal window
arcane-cli environments create --name production
Terminal window
arcane-cli containers list
Terminal window
arcane-cli containers get my-container
Terminal window
arcane-cli containers restart my-container

List containers with 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
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
Terminal window
arcane-cli gitops status my-sync
Terminal window
arcane-cli gitops sync my-sync

Free up space in every environment, or pass --env for one:

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 a summary or the full findings list, scan an image now, or show one image’s findings:

Terminal window
arcane-cli images vulnerabilities summary
Terminal window
arcane-cli images vulnerabilities list
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

Bind a role to a user, globally or in one environment:

Terminal window
arcane-cli admin bindings create --user <user-id> --role role_deployer --environment <env-id>

List bindings with --user, --role, or --environment filters, show a user’s effective access, or remove a binding:

Terminal window
arcane-cli admin bindings list --user <user-id>
Terminal window
arcane-cli admin bindings access <user-id>
Terminal window
arcane-cli admin bindings delete <binding-id>

Map an OIDC claim value to a role:

Terminal window
arcane-cli admin oidc create --claim docker-admins --role role_admin

Read and export the Event Log, including audit events if you hold audit:read. Filter with --search, --severity, and --type (exact types or categories, separated by commas):

Terminal window
arcane-cli admin events list --type authz.denied
Terminal window
arcane-cli admin events export --format csv -o events.csv

Custom roles live under admin roles (list, get, create, update, delete, permissions). See Roles & Permissions.

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).

These commands work on Podman environments; see Podman Overview for host requirements. Check what the host supports first:

Terminal window
arcane-cli podman status

Pods take the same flags as podman pod create:

Terminal window
arcane-cli podman pods list
Terminal window
arcane-cli podman pods create --name web -p 8080:80 --memory 512m
Terminal window
arcane-cli podman pods stop web --timeout 30
Terminal window
arcane-cli podman pods delete web --force

Install a Quadlet with any files it needs, then start its unit:

Terminal window
arcane-cli podman quadlets install web.kube --extra-file web.yaml
Terminal window
arcane-cli podman quadlets start web.kube

Play, tear down, or generate Kubernetes YAML:

Terminal window
arcane-cli podman kube play web.yaml --replace
Terminal window
arcane-cli podman kube down web.yaml
Terminal window
arcane-cli podman kube generate web --type deployment --service

Create or replace a secret. Without --file, the CLI prompts for the value, or reads one line from stdin:

Terminal window
arcane-cli podman secrets create db-password --file ./db-password.txt
Terminal window
arcane-cli podman secrets update db-password

Run Podman auto-update. --dry-run needs Podman 6.2 or later:

Terminal window
arcane-cli podman autoupdate --dry-run
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, trigger a run, and view history:

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 start time. --limit (-n) sets how many entries return; 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, install shell completion, or generate secrets and certificates for a new install:

Terminal window
arcane-cli doctor
Terminal window
arcane-cli completion zsh
Terminal window
arcane-cli generate secret

Every command accepts --output json (or --json), so you can pair it with jq:

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

In JSON mode, stdout carries exactly one JSON document; status and progress go to stderr. List commands print the paginated response with data and pagination; others print only the resource or result. images pull, images build, and streaming projects commands print an array of progress frames when done.

Commands that remove or reset resources ask for confirmation. Add --yes to skip prompts in unattended scripts; on delete commands, --force also works.

--all (-a) returns every item, ignoring pagination. It can’t be combined with --limit or --start:

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

Arcane 3.0 removed these old flag names, so scripts using them fail with unknown flag. They clashed with the global --env, --config, and --output flags, or were separate off switches.

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 create, admin federated update, admin backups policies update --disabled --enabled=false