CLI Reference
Current release-facing deku command surface.
Core Commands
Section titled “Core Commands”deku setupdeku versiondeku restartdeku dashboarddeku uninstalldeku apps list|create|destroy|infodeku checks run|routingdeku config list|set|unsetdeku deploy run|list|rollbackdeku domains list|add|removedeku letsencrypt enable|disable|status|configdeku logs [-n] [--follow]deku ps list|scaledeku ssh add|list|removedeku plugins list|install|uninstalldeku objectstore setup|info|test|unset|status|link|unlinkdeku postgres create|destroy|link|unlink|list|info|connect|logs|backup|backups|restoredeku redis create|destroy|link|unlink|list|info|connect|logs|backup|backups|restoredeku mysql create|destroy|link|unlink|list|info|connect|logsdeku network create|destroy|attach|detach|list|reportdeku storage ensure-directory|mount|unmount|listdeku cron list|add|removedeku git set|report|remote add|doctor
Command Groups
Section titled “Command Groups”deku setup
Section titled “deku setup”setup— interactive first-run configuration for the server
deku version
Section titled “deku version”version— print the current tagged Deku release version--version/-v— print the same version string
deku restart
Section titled “deku restart”restart— restart the localdekusystemd service on packaged Linux installs
deku dashboard
Section titled “deku dashboard”dashboard— print the server-reachable dashboard URL, local loopback URL, token status, SSH tunnel / firewall guidance, and reset guidancedashboard --json— print non-secret access metadata as JSONdashboard reset-token [--yes]— rotate the dashboard token and print the new value once
deku uninstall
Section titled “deku uninstall”uninstall— interactive packaged-install removal flowuninstall --keep-data— remove host install artifacts and keep local state and Docker volumesuninstall --full-remove— remove host install artifacts and Deku-owned persisted stateuninstall --yes— skip the destructive confirmation promptuninstall --dry-run— print the uninstall plan without making changes
deku apps
Section titled “deku apps”apps list— tabular output (name, status, created)apps create <name>— create app, print IDapps destroy <name> [--force]— confirmation prompt unless--forceapps info <name>— JSON pretty-print
deku config
Section titled “deku config”config list <app>— KEY=VALUE outputconfig set <app> KEY=VAL [KEY=VAL ...]— batch set via per-key API writesconfig unset <app> KEY
deku deploy
Section titled “deku deploy”deploy run <app> [--path .] [--image img] [--builder b]- With
--image: POST to/api/apps/:name/deploy - Without: Tar.gz source directory, POST multipart to
/api/apps/:name/deploy/archive - Streams SSE deploy log to terminal
deploy list <app>— tabular deployment historydeploy rollback <app> [--to <id>]
deku domains
Section titled “deku domains”domains list <app>domains add <app> <domain>domains remove <app> <domain>
deku logs
Section titled “deku logs”logs <app> [-n 100]— tail N lines from container logslogs <app> --follow— SSE stream of event bus
deku ps
Section titled “deku ps”ps list <app>— running process/container viewps scale <app> PROC=N [PROC=N ...]
deku ssh
Section titled “deku ssh”ssh add <name> <key-or-path>— reads.pubfile if path givenssh list— name + fingerprint tablessh remove <name>
deku plugins
Section titled “deku plugins”plugins listplugins install <path-to-.so>plugins uninstall <name>
deku letsencrypt
Section titled “deku letsencrypt”letsencrypt enable <app>letsencrypt disable <app>letsencrypt status <app>letsencrypt config <email>
deku objectstore
Section titled “deku objectstore”objectstore setupobjectstore infoobjectstore testobjectstore unsetobjectstore status <app>objectstore link <app> [--prefix path]objectstore unlink <app>
deku postgres
Section titled “deku postgres”- Create, destroy, link, unlink, list, info, connect, logs, backup, backups, restore
deku redis
Section titled “deku redis”- Create, destroy, link, unlink, list, info, connect, logs, backup, backups, restore
deku mysql
Section titled “deku mysql”- Create, destroy, link, unlink, list, info, connect, logs
deku network
Section titled “deku network”network create <name>network destroy <name>network attach <app> <network>network detach <app> <network>network listnetwork report <app>
deku storage
Section titled “deku storage”storage ensure-directory <app> <path>storage mount <app> <host-path> <container-path>storage unmount <app> <id>storage list <app>
deku cron
Section titled “deku cron”cron list <app>cron add <app> <schedule> <command>cron remove <app> <id>
deku checks
Section titled “deku checks”checks run <app> [--path /health] [--timeout 5]checks routing [app]
deku git
Section titled “deku git”git set <app> <key> <value>git report <app>git remote add <app>git doctor