Skip to content
Super 1.9.4 is here — the Stack Editor loads again (Monaco now bundled same-origin instead of a CSP-blocked CDN) and ui-plugin assets no longer shadow the built-in dashboard… See what’s new →

CLI Reference

The super binary is the primary way to interact with the daemon. Commands are grouped by category below; run super --help for inline help.

Edition legend (same convention as Config reference — Edition legend):

MarkMeaning
💎 SubscriptionRequires a valid [license].key and the matching licensed plugin (e.g. security for multi-user Access Tokens / RBAC, isolation for cgroup limits). OSS already has core auth (single admin secret) without plugins.
(no mark)Available in OSS (with or without plugins).

Global Flags:

FlagTypeDefaultDescription
--server <URL> / -sstringhttp://127.0.0.1:9002Override the server endpoint. Accepts an HTTP(S) URL or a Unix socket (unix:///path/to/superd.sock). Relative socket paths resolve under SUPER_ROOT; auto-discovery may prefer the socket (see below)
--token <TOKEN>string—Bearer for authenticated daemons (falls back to SUPER_TOKEN). Works with OSS core auth admin secret or licensed Access Tokens (sk-…; security plugin)
--yes / -yboolfalseSkip batch confirmation prompts. Also drives super import’s collision prompt (there, y keeps the chosen --on-collision behaviour — override additionally needs the flag or an interactive o answer, --yes alone never escalates)
--dry-runboolfalsePreview which programs a batch operation would affect, without executing. super import also honors it: prints the import plan and warnings, no daemon changes

Endpoint selection (how super picks a daemon to talk to):

  1. --server <URL> — highest priority; used for this command only.
  2. ~/.super/cli.json server_url — persisted by super login <secret> [--url <URL>]; all subsequent commands follow it.
  3. Auto-discovery (only when neither of the above applies, i.e. no --server and no ~/.super/cli.json): if $SUPER_ROOT/run/superd.sock (or ./run/superd.sock without SUPER_ROOT) exists and is a real socket file, the CLI uses unix:// there; otherwise it falls back to the default http://127.0.0.1:9002.

When the daemon listens on both TCP and a Unix socket, an unconfigured CLI therefore prefers the Unix socket automatically. To force TCP, pass --server http://host:port or run super login <secret> http://host:port to persist it. Auto-discovery only recognizes the conventional run/superd.sock path — a custom socket path or a non-default TCP port still needs an explicit --server (or a persisted login).

Exit codes (what scripts and CI gates can rely on):

CodeMeaning
0Command succeeded. A declined batch-confirmation prompt (“Aborted.”) and a completed --dry-run also exit 0 — nothing was executed, but nothing failed
1Operation failed: the daemon returned an HTTP error (401/403/404/5xx — the daemon’s error message is printed on stderr), the daemon was unreachable, or a --wait/--wait-healthy verification timed out (batch start/stop/restart, super reload --wait)
2Usage error: unknown flag or missing argument (clap)

Historical note: before 1.8.3 most commands printed Error: … on an HTTP failure but still exited 0, so shell || fallbacks and CI gates never fired. Since 1.8.3 a non-zero exit reliably means the requested operation did not happen.

Starting superd (daemon binary)

superd is separate from the super CLI. It reads $SUPER_ROOT/conf/super.toml and listens for API/CLI traffic.

ModeCommand / configWhen to use
Foreground (default)superd or superd --foregroundsystemd (Type=simple), Docker, debugging
Self-daemonize (Unix)superd --daemon or [server] daemon = trueBare metal without systemd; writes $SUPER_ROOT/run/superd.pid by default

CLI overrides: --daemon / --foreground / --pidfile <PATH>. See Config reference and Installation — Start by hand. Program control (start / stop / shutdown) is unchanged either way.

Command index

Runtime & Monitoring

CommandAliasDescription
super listlsList all managed programs with status, CPU, RAM, uptime
super info <name|id>—Detailed config / state for one program
super events <name|id>—Persisted event history (filterable) + stats
super logs <name|id>logStream or read program logs
super top—Full-screen real-time monitoring UI

Lifecycle

CommandAliasDescription
super add <command>—Register a new program
super update <name|id>—Change an existing program’s config
super start <target>—Start a stopped process
super stop <target>—Stop a running process
super restart <target>rsRestart a process
super signal <target>—Send a POSIX signal
super remove <name|@group|id|all>rmRemove a program

Config & Stack

CommandAliasDescription
super reload [--wait]—Reload super.toml, or SIGHUP a program
super apply <file>—Apply a declarative stack (TOML default, JSON compatible)
super import <format> <file>—Import a foreign process-manager config as a stack (supervisor)
super export—Export current state as a stack (TOML default, --format json available)
super check—Validate super.toml without a running daemon

System & Daemon

CommandAliasDescription
super shutdown—Gracefully shut down the daemon and all children
super doctor—One-shot diagnostics (config, daemon, license)
super completions <shell>completionPrint a shell completion script (bash, zsh, fish, elvish, powershell)

Authentication

CommandAliasDescription
super login <secret>—Save Bearer credentials to ~/.super/cli.json (OSS core auth or licensed bootstrap / Access Token)
super logout—Clear saved credentials
super token list|create|revoke 💎—Manage multi-user Access Tokens (security plugin)

Runtime & Monitoring

list

List all managed programs and their status.

super list

info

Show detailed JSON/Table information about a specific program. When the program has a provenance label (see import — Provenance), the table includes a Source: line such as Source: import:supervisor or Source: stack:app.toml.

super info <name|id>

events

Show the persisted event history for a program — all lifecycle events are recorded (crashes, OOM kills, backoff retries, recoveries, exits, cron runs, system startup/shutdown), not just anomalies. Newest first. For storage, retention, and workflow guidance, see Event History.

super events <name|id>                    # all recorded events
super events <name|id> --limit 10         # last 10 events
super events <name|id> --type process_fatal   # only fatal events
super events <name|id> --exit-code 1      # only runs that exited with code 1
super events <name|id> --q "oom"          # free-text match on the message
super events <name|id> --from 1735689600 --to 1735776000   # time window (Unix seconds)
super events <name|id> --stats            # retention statistics instead of the list
FlagTypeDefaultDescription
--limit Nintall eventsShow only the N most recent events
--from TSint—Inclusive start of the time window (Unix seconds)
--to TSint—Inclusive end of the time window (Unix seconds)
--type NAMEstring—Exact event type (e.g. process_fatal, cron_exit, health_restart)
--exit-code Nint—Exact exit code
--q TEXTstring—Free-text match on the event message
--statsflag—Show counts by event type and the retained time range

Events are persisted by superd to a SQLite database (default data/events.db) — see Event History for storage, retention (events_keep_days), and the full event catalog. Every event carries a Unix timestamp (ts, seconds) and a millisecond-precision ts_ms; the table’s Time column renders it as local time. The signal column shows the terminating signal — 9 (SIGKILL) typically indicates a cgroup/kernel OOM kill under resource_limits. Backed by GET /api/v1/programs/{id}/events (plus GET /api/v1/events and GET /api/v1/events/stats).

logs

Read historical lines from disk and/or stream live output via WebSocket.

super logs <name|id>              # live stream (WebSocket)
super logs <name|id> --tail 200   # last 200 lines from disk
super logs <name|id> --tail 50 --follow   # tail then follow live
FlagTypeDefaultDescription
--tail Nint— (live only)Read last N lines from log files (GET /api/v1/programs/{id}/logs)
--sourceenumbothLog stream: stdout or stderr only
--followboolfalseAfter --tail, keep streaming via WebSocket

top

Real-time monitoring interface (like htop). Polls /api/v1/programs every second and renders a full-screen table; navigate with arrow keys, quit with q.

super top

Lifecycle

Target syntax

Control commands take a single target, written PM2-style as a union:

super <start|stop|restart|remove> <name|@group|id|all>
  • <name> — exact program name (like PM2’s app_name).
  • @<group> — every program in that group (like PM2’s namespace).
  • <id> — program UUID; unambiguous prefixes are accepted.
  • all — every managed program (PM2’s 'all').

Super has no json_conf target — declarative batches go through a stack file instead (super apply <file>, TOML default / JSON compatible). A target that matches several programs is rejected as ambiguous, with the candidates listed.

Batch targets are protected by three safety knobs (global flags, accepted on any control command):

FlagTypeDefaultDescription
--yes / -yboolfalseSkip the interactive confirmation prompt. Batch operations (@group / all) ask for confirmation before touching more than one program; --yes bypasses it for scripts
--dry-runboolfalseShow which programs the operation would affect (preview list) and exit without executing anything. super import accepts it the same way — plan + warnings only, nothing applied

Without --yes, a batch operation on more than one program prints the affected program list and asks [y/N]; answering anything other than y/yes aborts. Single-target operations never prompt.

add

Register a new program without a config file.

super add <COMMAND> [ARGS...] [FLAGS]

Flags:

FlagTypeDefaultDescription
--name <NAME> / -nstringbinary nameCustom program name
--autostartbooltrueStart the program when the daemon starts
--no-autostartboolfalseDisable auto-start. Use this instead of --autostart false — --autostart is a flag and does not take a value, so the literal false would be parsed as the command
--cwd <DIR>stringdaemon cwdWorking directory
--env <KEY=VAL> / -estring[]—Set environment variables (repeatable)
--env-file <PATH>path—Load environment variables from a file at spawn time
--user <USER>string—Run as a specific user (requires root)
--group <GROUP>string—Group name for organization (addressable as @<group>)
--numprocs <N>int1Spawn N process instances
--process-name <TPL>string{name}-{num}Process name template for multiple instances (e.g. worker-{num})
--autorestart <POLICY>enumunexpectedAuto-restart policy: unexpected, true, or false
--exitcodes <N,N>int[]0Comma-separated exit codes considered successful
--startsecs <N>int10Seconds before exit counts as stable start
--stopsecs <N>int10Seconds to wait after SIGTERM before SIGKILL (server shutdown_timeout when omitted)
--cron <EXPR>string—Cron expression for scheduled tasks (see Scheduled Tasks)
--on-overlap <POLICY>enumskipCron overlap policy when the previous run is still active: skip / queue / kill
--catchup <POLICY>enumskipPolicy for cron slots missed while the daemon was down: skip / latest / all
--jitter <SECS>int0Max random delay (seconds) before each cron trigger to spread load
--max-concurrent <N>int1Max overlapping cron runs allowed at once (1–64)
--max-queued <N>int100Cap on queued cron firings when at max_concurrent (0 means default)
--cpu <CORES> 💎float—CPU quota in cores (e.g. 1.5; isolation plugin, Linux only)
--memory <MB> 💎int—Memory hard limit in MB (isolation plugin, Linux only)
--memory-warn-percent <PCT> 💎int80Pre-kill warning threshold as % of limit (0 off; isolation plugin, Linux only)
--memory-warn-headroom <MB> 💎int0Warn within this many MB of the limit (0 off)
--memory-high <MB> 💎int0Kernel soft limit in MB — throttles before OOM-kill (0 off, opt-in)

update

Update configuration for an existing program.

super update <name|id> [FLAGS]

Flags:

Every flag is optional — omitted flags keep the program’s current value.

FlagTypeDefaultDescription
--command <CMD>stringkeepNew command to execute
--args <ARG...>string[]keepNew command arguments
--cwd <DIR>stringkeepWorking directory
--user <USER>stringkeepRun as a specific user
--group <GROUP>stringkeepGroup name for organization
--env <KEY=VAL> / -estring[]keepReplace environment variables
--env-file <PATH>pathkeepEnv file path ("" clears)
--autostartboolkeepAuto-start on daemon start
--retry-limit <N>intkeepAuto-restart retry limit
--autorestart <POLICY>enumkeepAuto-restart policy: unexpected / true / false
--exitcodes <N,N>int[]keepComma-separated successful exit codes
--startsecs <N>intkeepSeconds before exit counts as stable start
--stopsecs <N>intkeepSeconds to wait after SIGTERM before SIGKILL
--no-health-checkboolfalseRemove the health check configuration
--cron <EXPR>stringkeepCron expression for scheduled tasks
--on-overlap <POLICY>enumkeepOverlap policy: skip / queue / kill
--catchup <POLICY>enumkeepCatchup policy: skip / latest / all
--jitter <SECS>intkeepMax random delay before each cron trigger
--max-concurrent <N>intkeepMax overlapping cron runs allowed at once
--max-queued <N>intkeepCap on queued cron firings
--artifact-url <URL>stringkeepOTA download URL (triggers transactional update when checksum changes)
--artifact-sha256 <HEX>stringkeepExpected SHA256 digest of the downloaded bytes
--artifact-destination <PATH>pathkeepAbsolute path where the binary lives (e.g. /usr/local/bin/my-app); required on first OTA setup, omit if unchanged
--artifact-extractboolfalseUnpack .tar.gz / .tgz / .tar / .zip before swap
--artifact-restart-policy <POLICY>stringimmediateimmediate, manual, signal, or signal:<hup|int|term|quit|usr1|usr2>. signal* requires the program to already have an enabled health_check.
--artifact-download-timeout <SECS>int60Max seconds for this OTA HTTP download. 0 disables the overall transfer deadline (connect still times out at 10s).
--artifact-verify-timeout <SECS>int60Post-swap health window before auto-rollback. 0 disables.
--cpu <CORES> 💎floatkeepCPU quota in cores (isolation plugin, Linux only)
--memory <MB> 💎intkeepMemory hard limit in MB (isolation plugin, Linux only)
--memory-warn-percent <PCT> 💎intkeepPre-kill warning threshold as % of limit (0 off)
--memory-warn-headroom <MB> 💎intkeepWarn within this many MB of the limit (0 off)
--memory-high <MB> 💎intkeepKernel soft limit in MB (0 off, opt-in)

Full flow: Atomic OTA Updates. Artifact schema (same fields on API / stack / dashboard): Config reference — artifact. Scheduled-task and licensed (isolation plugin) flags behave as in super add; licensed flags warn if the plugin is not loaded.

start

Start a stopped process.

super start <name|@group|id|all> [--wait] [--wait-healthy] [--timeout N]
FlagTypeDefaultDescription
--waitboolfalsePoll until the program(s) reach Running/Healthy
--wait-healthyboolfalsePoll until the program(s) reach Healthy (readiness check passed). Mutually exclusive with --wait
--timeout Nint5Wait timeout in seconds
--yes / -yboolfalseBatch safety: skip confirmation (see above)
--dry-runboolfalseBatch safety: preview only (see above)

stop

Stop a running process.

super stop <name|@group|id|all> [--wait] [--timeout N] [--force]
FlagTypeDefaultDescription
--waitboolfalsePoll until the program(s) reach Stopped
--timeout Nint5Wait timeout in seconds
--forceboolfalseSkip graceful shutdown and SIGKILL immediately
--yes / -yboolfalseBatch safety: skip confirmation (see above)
--dry-runboolfalseBatch safety: preview only (see above)

restart

Restart a process.

super restart <name|@group|id|all> [--wait] [--wait-healthy] [--timeout N]
FlagTypeDefaultDescription
--waitboolfalsePoll until the program(s) reach Running/Healthy
--wait-healthyboolfalsePoll until the program(s) reach Healthy (readiness check passed). Mutually exclusive with --wait
--timeout Nint5Wait timeout in seconds
--yes / -yboolfalseBatch safety: skip confirmation (see above)
--dry-runboolfalseBatch safety: preview only (see above)

A multi-target restart (@group, all, or an ID list) is one coordinated two-phase cycle — all targets stop in reverse dependency order, Super waits for them to exit, then all targets start in dependency order (see Dependencies). A single-name restart keeps the simpler stop-then-start semantics on that one program.

signal

Send a specific POSIX signal.

super signal <name|@group|id|all> --sig <SIGNAL>
FlagTypeDefaultDescription
--sig <SIGNAL>enumhupSignal to send: hup, int, term, kill, quit, usr1, usr2

remove (alias rm)

Remove a program configuration. It must be stopped first (see Process Operations).

super remove <name|@group|id|all>

Config & Stack

reload

Reload system configuration from super.toml (logging, includes, event hooks), or send SIGHUP to a running program when a target is given.

super reload                              # reload super.toml (no program restart)
super reload --wait [--timeout N]         # reload and wait for affected programs to become Healthy
super reload <name|@group|id|all>         # SIGHUP to program(s) — e.g. nginx config reload
FlagTypeDefaultDescription
--waitboolfalseReadiness-aware reload: after applying the new config, wait for every affected program to pass its health checks before reporting success. Prints the affected programs and exits non-zero if any is not ready in time
--timeout Nint30Readiness wait timeout in seconds
--yes / -yboolfalseBatch safety on the SIGHUP target: skip confirmation (see above)
--dry-runboolfalseBatch safety on the SIGHUP target: preview only (see above)

Note

[server].host, port, socket, socket_only and auth_secret are read once when the daemon starts (they build the listeners and the auth gate; the security plugin reads them itself at load). A reload cannot apply them — superd logs a restart required warning naming the changed keys, and the old values stay in effect until you restart superd.

apply

Apply a declarative stack configuration. Stack files are TOML by default (.toml or no extension); legacy JSON (.json) stacks keep working.

super apply <FILE> [--dry-run] [--force-prune]
FlagTypeDefaultDescription
--dry-runboolfalsePrint the apply diff (keep/update · create · remove) and exit without calling the apply API
--force-pruneboolfalseSkip the interactive prune gate when the file sets prune = true and programs would be removed. Use only in automation after reviewing --dry-run

prune safety (irreversible): omitted / prune = false never deletes programs. If the file sets prune = true and any managed program is missing from the stack, the CLI prints a full apply diff first — keep/update, create, and every program that would be REMOVED (removal names are never truncated) — then requires you to type confirmed exactly to continue (y / yes / prune / global --yes are not accepted). The Dashboard Stack Editor uses the same diff + typed-confirmed gate. Automation must pass --force-prune after reviewing --dry-run. Prefer prune = false except for deliberate full-inventory GitOps applies. Stacks loaded via [include] on daemon start / super reload have no prompt — keep prune = false there and use super apply (or the Dashboard) for intentional prunes.

import

Convert a foreign process-manager config file into Super stack services: parse, map fields, print every warning, then apply through the same endpoint as super apply (create-or-update, never prunes). Supported formats: supervisor (INI with [program:*] sections, [include] files, [group:*], %(ENV_…)/%(here)s/%(program_name)s placeholders, numprocs/process_name templates).

super import supervisor /etc/supervisor/conf.d/app.conf --dry-run
super import supervisor /etc/supervisor/conf.d/app.conf --emit-toml app-stack.toml
# Name-collision handling — three ways to choose the mode:
super import supervisor /etc/supervisor/conf.d/app.conf --on-collision rename                       # flag (scripted)
super import supervisor /etc/supervisor/conf.d/app.conf --on-collision rename --collision-suffix staging   # fixed suffix -> web-staging
super import supervisor /etc/supervisor/conf.d/app.conf          # interactive prompt offers [y/r/o/N]
super import supervisor /etc/supervisor/conf.d/app.conf --yes --on-collision override                # scripted override (update in place)
super import supervisor /etc/supervisor/conf.d/app.conf [--yes] [--no-start] [--remap-logs]
FlagTypeDefaultDescription
--dry-runboolfalsePrint the import plan (warnings + what would be created/renamed/skipped) and exit. Works without a running daemon (skips the name-collision check)
--emit-toml <path>path—Write the converted stack as TOML instead of applying (- = stdout). Review it, then super apply
--no-startboolfalseForce autostart = false on everything imported so a daemon restart does not launch them; start deliberately with super start
--on-collision <MODE>skip | rename | overrideskipWhat to do when a program name already exists: skip keeps the existing program untouched; rename imports under a fresh name ({name}-{suffix}) so old and new run side by side (gray-release migration); override updates the existing program in place
--collision-suffix <TEXT>stringrandom 6-char hexWith --on-collision rename: fixed suffix instead of a random one (e.g. --collision-suffix staging → web-staging). Reproducible for scripts, but a fixed suffix collides with itself if the same import runs twice (random suffixes never do)
--remap-logsboolfalseRewrite foreign absolute log paths to bare file names so they resolve under storage.log_dir (custom log paths must live there). Without it, foreign paths are kept and rejected by apply-side validation
--yes / -yboolfalseSkip the confirmation prompt (y keeps the chosen --on-collision behaviour; it never escalates to override)

Collision modes in detail. skip (default) is idempotent — rerunning the same import only fills in missing programs. rename picks {name}-{6-char hex} (e.g. web-c41f9a), guarantees the target is unique against the daemon and the rest of the batch, and prints the old→new mapping in both the plan and the final report — use it to run the imported copy next to the live one, verify, then retire the old program manually. override feeds the collided services through the stack API’s create-or-update semantics so the existing program’s config is replaced; interactive runs must type override (or answer o at the prompt) — it is never triggered by --yes alone.

Three ways to choose a mode: the --on-collision flag, the interactive prompt ([y] skip / [r] rename / [o] override / [N] abort — shown whenever collisions exist and no explicit mode was given), or --dry-run + re-run with the chosen flag. The preview always shows the exact outcome before anything is applied:

Import plan:
  + web-worker: /usr/bin/python3 manage.py celery_worker … [autostart, x3, @webapp]
  ~ web: exists -> will import as web-c41f9a (renamed)
  ~ db: already exists — skipped (not overwritten)

Safety: imports are always prune = false. Anything the converter could not map faithfully — stopsignal=QUIT, per-program log-rotation keys, [eventlistener:*], [fcgi-program:*] — is reported as a warning, never silently dropped. Full field mapping: Import tool.

Provenance: every program created or overridden by an import is stamped source = import:<format> (e.g. import:supervisor), visible via super info (line Source:) and the program detail API. Other write paths stamp similarly: super add → cli:add, super update → cli:update, super apply <file> → stack:<file>, and [include] stacks → include:<file>. This makes “where did this program come from?” answerable months later — for example when auditing what an import touched before retiring the old setup.

export

Export current state as a stack file. Defaults to TOML (the default stack format, round-trips cleanly with super apply / [include]); --format json keeps the legacy JSON shape for tooling that expects it.

super export [--format toml|json]
FlagTypeDefaultDescription
--formattoml | jsontomlOutput format. toml produces the default stack format (inline/nested tables); json keeps the legacy shape for tooling that expects it.

check

Validate super.toml without a running daemon: TOML syntax, bind/port, log/data paths, licensed-mode requirements, [include] stacks (TOML default, JSON compatible — same program-body checks as create), and rejected leftovers ([webhook], [[program]] tables that Super does not load). Include errors name the file and location: path:line:col: for TOML/JSON syntax, path: services[i] (name=…): field: for invalid services. Non-zero exit if any error is found. Use with super doctor when diagnosing license verification failures.

super check
FlagTypeDefaultDescription
--file <PATH> / -fpath./conf/super.toml (or /etc/super/super.toml)Path to the config file to validate

System & Daemon

shutdown

Gracefully shut down the Super daemon and all child processes (works for foreground and --daemon instances).

super shutdown

doctor

One-shot diagnostics: config check (super check output), daemon health, license status, the embedded root key id, and local [server].daemon / pidfile hints (systemd conflict, stale pidfile). See Troubleshooting license verification.

super doctor

completions (alias completion)

Print a shell completion script for super to stdout. The script is generated from the same argument definition as super --help, so subcommands, aliases (ls, rs, rm, log), and flags stay in sync with the installed binary. No daemon or credentials are needed.

super completions <bash|zsh|fish|elvish|powershell>
ShellOne-time setup
bashsuper completions bash > ~/.local/share/bash-completion/completions/super (requires the bash-completion package; system-wide: /usr/share/bash-completion/completions/super)
zshsuper completions zsh > "${fpath[1]}/_super" — or write to ~/.zfunc/_super and add fpath+=(~/.zfunc) to ~/.zshrc before compinit. System-wide: /usr/local/share/zsh/site-functions/_super (already in fpath on Debian/Ubuntu and Homebrew zsh)
fishsuper completions fish > ~/.config/fish/completions/super.fish
elvishsuper completions elvish >> ~/.config/elvish/rc.elv
powershellsuper completions powershell | Out-String | Invoke-Expression (or save it and dot-source it from $PROFILE)

install.sh writes bash, zsh, and fish completions into $PREFIX/share on install (--no-completions skips this); they load automatically when that directory is on the shell’s completion path.

Note

Completions are static: program names, IDs, and groups are not fetched from the daemon while you type (that would put an API call on every Tab). Complete targets yourself — super restart <name|@group|all>.

Authentication

CLI auth talks to the same /api/v1/auth/* surface as the Dashboard. See Authentication.

OSS core auth (single admin secret)

When core auth is active (non-empty auth_secret in conf/super.toml), there is one admin Bearer secret — not an sk-… Access Token. That string is what you pass to login / --token (full detail: Can OSS use --token?):

SECRET='your-auth-secret'   # same as auth_secret in toml

super login "$SECRET"                          # saves ~/.super/cli.json
super login "$SECRET" --url http://127.0.0.1:9002
super list                                     # uses saved Bearer
super --token "$SECRET" list                   # one-shot: secret = Bearer
export SUPER_TOKEN="$SECRET"
super logout

Default loopback OSS without auth_secret stays open — no login is needed for super list. Non-loopback binds require auth_secret or the daemon refuses to start.

Multi-user Access Tokens 💎 (security plugin)

💎 Subscription. Token CRUD (super token …), roles, and day-to-day sk-… credentials require the licensed security plugin. super login / --token / SUPER_TOKEN still work for the bootstrap auth_secret and for Access Tokens once the plugin is loaded.

# Bootstrap only (no Access Tokens yet), or after all tokens were revoked:
super login <auth_secret>

# Day-to-day: use a generated token
super login sk-...
super token list
super token create ci-bot --role operator
super token revoke <id>

super --token sk-... list
export SUPER_TOKEN=sk-...
Flag / formTypeDefaultDescription
super login <secret> --url <URL>stringconfigured serverServer URL saved with the credentials; pins subsequent commands to that endpoint (OSS or licensed)
super token create --role <ROLE> 💎enumoperatorAccess token role: viewer, operator, or admin (security plugin)

auth_secret stays usable by default under the plugin; Admins may explicitly disable it after creating an Admin Access Token. See Optional: disable auth_secret.

Alternative via curl (licensed token create):

# OSS core auth or licensed bootstrap:
curl -X POST http://127.0.0.1:9002/api/v1/auth/login \
    -H "Authorization: Bearer <admin-or-auth_secret>"

# 💎 security plugin — create an Access Token:
curl -X POST http://127.0.0.1:9002/api/v1/auth/tokens \
  -H "Authorization: Bearer <auth_secret>" \
  -H "Content-Type: application/json" \
  -d '{"name":"ci-bot","role":"operator"}'

curl -H "Authorization: Bearer sk-..." http://127.0.0.1:9002/api/v1/programs

Environment variables

superd and the super CLI read a small set of public environment variables (SUPER_ROOT, SUPER_TOKEN, SUPER_LICENSE, SUPER_LICENSE_STRICT) that override or configure daemon behavior without touching super.toml. See Environment Variables.

Was this page helpful? Thanks for your feedback!

Still have questions? Open an issue or browse the source.