CLI command reference
Every public CLI command, argument, and option, grouped by task.
Use openship <command> --help to check the version installed on your machine. <value> is required; [value] is optional. Aliases appear beside the command name.
| Option | Meaning |
|---|
-V, --version | output the version number |
--json | Machine-readable JSON output (stdout data only) |
--native-config <file> | Run SDK commands using an explicitly trusted JavaScript configuration |
-h, --help | display help for command |
Put global options before the command, for example openship --json project list. See native mode before using --native-config.
| Command | Purpose |
|---|
openship server | Manage self-hosted SSH servers |
openship backup | Manage backups: policies, runs, restores, destinations |
openship edge | Install and manage the OpenResty edge (reverse proxy, TLS, per-route rules) |
openship mail | Self-hosted mail server (iRedMail) setup and admin [self-host] |
openship system | Instance settings, onboarding, migration, and data transfer |
| Command | Purpose |
|---|
openship up | Start Openship as a persistent service (boot + auto-restart); --foreground to run attached |
openship stop | Stop Openship (started by openship up) — it won't restart or return on reboot |
openship status | Show the local Openship service (installed/running, ports) and the active context's API health |
openship doctor | Check database + services health and repair a corrupt local database |
openship open | Open the Openship dashboard in your browser |
openship install | Download and install the Openship desktop app for this OS |
openship update | Update the Openship CLI + bundled server to the latest release |
openship uninstall | Remove Openship from this machine: stop it, delete its data (database, certs, edge config), its images, and ~/.openship. Deployed apps are left running. |
openship reset-admin-password | Reset the local admin login on THIS machine (no sign-in required) |