Single-shot installer for commander-worker on Ubuntu 24.04 LTS.
Audit before piping to sh. This is a public shell script that runs as root on your box. Read every line at
install.shbefore running it.
On a fresh Ubuntu 24.04 LTS host:
curl -fsSL https://raw.githubusercontent.com/dekimuhq/commander-installer/main/install.sh | sudo shThe script:
- Verifies the host is Ubuntu 24.04.
- Installs Node.js 22 (NodeSource).
- Creates a dedicated
commandersystem user (/usr/sbin/nologin). - Fetches a pinned
commander-workertarball from a public Vercel Blob mirror and verifies its sha256. - Extracts it to
/home/commander/worker. - Drops a
/etc/commander-worker/envskeleton with placeholder values (no secrets are baked in). - Installs a systemd unit
commander-worker.service. Does not start it.
It is idempotent: running it twice in a row is a no-op.
- Edit
/etc/commander-worker/envand fill the__FILL__placeholders.- Generate
WORKER_SECRETwithopenssl rand -base64 32. - Paste your
COMMANDER_LICENSE_PUBLIC_KEY(PEM) from your runcommander.com dashboard. - Add
UPSTASH_REDIS_REST_URL+UPSTASH_REDIS_REST_TOKENfor your tenant. - Add at least one of
ANTHROPIC_API_KEY,OPENAI_API_KEY,GOOGLE_API_KEY.
- Generate
- Start the service:
sudo systemctl start commander-worker sudo systemctl status commander-worker
- Confirm health (loopback only by default —
HOST=127.0.0.1):curl -sSf -H "Authorization: Bearer $WORKER_SECRET" \ http://127.0.0.1:7891/health - Tail logs:
journalctl -u commander-worker -f
| Feature | Status |
|---|---|
| Ubuntu 24.04 LTS | supported |
| Debian 12 / Ubuntu 22.04 | v1.1 |
uninstall.sh |
v1.4 (W4) |
| Cloudflare Tunnel auto-config | not yet (founder decision) |
| sshd lockdown / key rotation | v1.4 (W4) |
| Wizard UI / SSH orchestrator | v1.2 / v1.3 (W2 / W3) |
This installer pins WORKER_VERSION at the top of install.sh. Each commit to main ships one fixed worker version; upgrades land as a new commit + tag here.