Command Reference

Launch with easy-devops or the short alias ezz — both are registered as npm bin commands and do the same thing. Select an option with arrow keys, then follow the sub-menu prompts.

CLI Banner

The real banner prints your machine's detected nginx and Node versions, not a fixed pair. The example below shows the shape; the values differ on your server.

terminal (example output)
  ███████╗███████╗     Easy DevOps  v1.4.7
  ██╔════╝╚════██╗     ─────────────────────
  █████╗      ██╔╝     CLI & Web Dashboard
  ██╔══╝     ██╔╝      Nginx · SSL · Domains · Node.js
  ███████╗ ██████╗
  ╚══════╝ ╚═════╝

  nginx: <detected> | ACME: acme-client | node: <detected>

? Select an option:
❯ 📦 Node.js Manager
  🌐 Nginx Manager
  🔒 SSL Manager
  🔗 Domain Manager
  🔌 Hub
  🎛️ Open Dashboard
  ⚙️ Settings
  🔄 Check for Updates
  ✖ Exit

All Commands

CommandDescription
Node.js ManagerSwitch Node versions, manage global packages, update npm.
Nginx ManagerStart, stop, reload or restart nginx, test config, view error log, install nginx.
SSL ManagerCreate a certificate, renew one, renew everything expiring within 30 days.
Domain ManagerList, add, edit, enable/disable, delete reverse proxy configs.
HubConnect this server to an Easy DevOps Hub, show the agent state, or unlink it.
Open DashboardStart the web dashboard (React UI served by the Express + Socket.io server), open it, or stop it.
SettingsPort, authentication, listener compatibility information, directories, ACME email, auto-renew, deployments folder and Linux permissions.
Check for UpdatesChecks the npm registry for a new version of easy-devops and installs it.
ExitExit the CLI gracefully. Press Ctrl+C at any time.
CommandDescription
service installInstall the native background service (systemd / Windows service / Startup launcher) and enable it.
service statusShow whether the service is installed, running, and whether it starts on boot or logon.
service startStart the service now.
service stopStop it until the next logon or boot (temporary).
service restartStop and start the service in one step.
service logsPrint recent service output and error log lines.
service repairRewrite the service definition, re-pin the runtime and restart it after an interrupted update.
service uninstallRemove the service definition. Data and certificates are kept.
runtime statusShow the pinned Node runtime and the Node versions available from the live lookup.
runtime updateMove the service to a newer Node, with rollback if it fails.
daemonRun the background worker in the foreground for debugging. No web port is opened.
updateUpdate Easy DevOps itself, then restart the service.
cleanupList reclaimable files (runtime backups, old logs, stale locks, nginx .bak files, PM2 logs, Node versions) and remove the ones you choose. Use --days N for the log age.
uninstallRemove Easy DevOps. Needs --purge to do anything; the data directory is exported as a backup first.
dashboard setup-codeIssue a new first-run setup code, printed to the local terminal only.
hub connect <link>Pair with a Hub using the command from its "From the CLI" option. The one-time link lasts five minutes, works once, and rotates the server's secret.
hub statusShow the Hub origin, server id, granted permissions and the agent state. Never prints the secret.
hub unlinkRemove the local pairing. Add --yes in a script. The Hub keeps the server listed as offline until it is deleted there.
system-infoPrint detected system info (OS, Node, nginx) and exit.
CommandDescription
--dashStart the web dashboard in the foreground and print its URL. Ctrl+C stops it cleanly.
--devUse an isolated data directory (.dev-data in the project), so development never touches the installed configuration. Combines with --dash.
--classic-uiServe the old EJS dashboard instead of the React one, for one run. Temporary fallback.
--purgeWith uninstall: remove the service, the pinned runtime and the data directory, after exporting a backup.
--days NWith cleanup: treat logs older than N days as reclaimable (default 14).
--yesAnswer confirmations yes. For scripts; uninstall --purge still prints what it will do.
-h, --helpShow the full command help.
-v, --versionPrint the installed version and exit.
CommandDescription
Reload nginxTests config, then sends a graceful reload. Shown while nginx is running.
Restart nginxTests config, then a full stop/start. Shown while nginx is running.
Stop nginxStop nginx. Shown while nginx is running.
Start nginxStart an installed but stopped nginx.
Test configRuns nginx -t and displays the result.
View error logShows the last 50 lines of the nginx error log.
Install nginxLinux: apt-get. Windows: downloads the current stable build from nginx.org and extracts it into nginxDir (winget is not used).
CommandDescription
List DomainsShow all configured domains in a table with status.
Add DomainInteractive prompts for domain configuration, including SSL and optional certificate creation.
Edit DomainModify existing domain settings.
Enable / DisableToggle domain on/off without deleting the config.
Delete DomainRemove a domain and its nginx config.
CommandDescription
Create new certificateIssue a new Let's Encrypt certificate via HTTP-01 or DNS-01 challenge.
Renew a certificateSelect and renew a specific certificate by domain.
Renew all expiring (< 30 days)Batch-renew all certificates expiring within 30 days.
CommandDescription
Switch Node versionFetch the available LTS versions live from nvm, then switch to the selected one.
Manage global packagesInstall, uninstall, or list globally installed npm packages.
Update npmUpdate npm to the latest version.
CommandDescription
Connect / re-pairPaste the one-time command's link (or a full ezops:// string). It is fetched once, saved, and the agent's own state is shown when it reports.
StatusThe Hub origin, server id, how many permissions are granted and the agent state, without any secret.
UnlinkRemove the pairing on this server. The Hub keeps the server row until it is deleted there.
CommandDescription
Dashboard PortSet the port the web dashboard listens on (default: 6443).
Dashboard AuthRequire a password, or run without one when the dashboard listens on this machine only.
Listen OnShows that the dashboard is loopback-only. Remote access uses a local HTTPS reverse proxy or authenticated tunnel.
Nginx DirectorySet the nginx installation path (nginxDir).
SSL DirectorySet the SSL certificate storage root (sslDir).
ACME EmailSet the email used for Let's Encrypt account registration. Required before a certificate can be issued.
SSL Auto-RenewTurn background HTTP-01 renewal on or off and set the window (1–30 days, default 7).
Deployments FolderWhere new deployed apps are created. Changing it does not move existing apps.
Setup Linux PermissionsLinux only. Prints and runs the exact commands that install /etc/sudoers.d/easy-devops. sudo asks for your password in this terminal; Easy DevOps never sees it. The rule grants exactly five systemctl nginx commands.

There is no CLI deploy command

Deployments are managed from the dashboard's Deployments page, from a GitHub Action through the deploy hook, or from the Hub. The interactive CLI has no deploy menu.