CLICommand reference

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.

Global options

OptionMeaning
-V, --versionoutput the version number
--jsonMachine-readable JSON output (stdout data only)
--context <name>Use a saved connection for this command without changing the default
--api-url <url>Use a remote API for this command; authenticate with OPENSHIP_TOKEN
--localUse this machine's installation with its private administrator credential
--organization <id>Use a fixed organization scope for SDK resource commands (remote only)
--native-config <file>Run SDK commands using an explicitly trusted JavaScript configuration
-h, --helpdisplay help for command

Put global options before the command, for example openship --json project list. See native mode before using --native-config.

Connect

CommandPurpose
openship loginConnect to Cloud or self-hosted Openship with a Personal Access Token
openship logoutRemove the stored Openship token
openship contextManage connection contexts (list/use/add/rm)
openship tokenManage personal access tokens
openship accessManage workspaces, members, invitations and resource grants
openship credentialManage stored registry and DNS credentials; reads return masked secrets
openship githubConnect GitHub, browse repositories and manage deployment sources
openship apiMake an authenticated request to any Openship API route (like gh api)

Deploy

CommandPurpose
openship initLink the current directory to an Openship project (.openship/project.json)
openship configAuthor and validate openship.json (declarative deploy config)
openship deployTrigger a deployment for the current project
openship deploymentManage deployments (list, inspect, redeploy, rollback, …)
openship logsView or stream a deployment's logs

Applications

CommandPurpose
openship projectManage Openship projects
openship appBrowse, install, and configure catalog apps
openship serviceManage the services in a compose stack (a multi-service project)
openship domainManage custom domains, DNS verification, and SSL certificates
openship dnsManage DNS providers and zone access

Operations

CommandPurpose
openship monitoringInspect issues and workload health using the platform's monitoring operations
openship notificationManage notification channels, subscriptions and deliveries
openship webhookManage incoming deploy and job webhooks
openship auditInspect audit events and retention settings
openship analyticsRead project traffic, deployments and runtime resource measurements
openship settingsManage user preferences on the selected Openship instance

Cloud

CommandPurpose
openship billingManage Cloud plans, server subscriptions, usage and payment checkouts

Infrastructure

CommandPurpose
openship jobManage self-hosted jobs, schedules, and run logs
openship serverManage Cloud and self-hosted deployment servers
openship backupManage backups: policies, runs, restores, destinations
openship edgeInstall and manage the OpenResty edge (reverse proxy, TLS, per-route rules)
openship mailSelf-hosted mail server (iRedMail) setup and admin [self-host]
openship migrationDiscover, import, move and copy Docker workloads between authorized servers, including Cloud
openship systemInstance settings, onboarding, migration, and data transfer

Local installation

CommandPurpose
openship upStart Openship as a persistent service (boot + auto-restart); --foreground to run attached
openship stopStop Openship (started by openship up) — it won't restart or return on reboot
openship statusShow the local Openship service (installed/running, ports) and the active context's API health
openship doctorCheck database + services health and repair a corrupt local database
openship openOpen the Openship dashboard in your browser
openship installDownload and install the Openship desktop app for this OS
openship updateUpdate the Openship CLI + bundled server to the latest release
openship uninstallRemove 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-passwordReset the local admin login on THIS machine (no sign-in required)

Shell

CommandPurpose
openship completionGenerate shell completion scripts

On this page