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.
Connect this server to an Easy DevOps Hub, show the agent state, or unlink it.
Open Dashboard
Start the web dashboard (React UI served by the Express + Socket.io server), open it, or stop it.
Settings
Port, authentication, listener compatibility information, directories, ACME email, auto-renew, deployments folder and Linux permissions.
Check for Updates
Checks the npm registry for a new version of easy-devops and installs it.
Exit
Exit the CLI gracefully. Press Ctrl+C at any time.
Command
Description
service install
Install the native background service (systemd / Windows service / Startup launcher) and enable it.
service status
Show whether the service is installed, running, and whether it starts on boot or logon.
service start
Start the service now.
service stop
Stop it until the next logon or boot (temporary).
service restart
Stop and start the service in one step.
service logs
Print recent service output and error log lines.
service repair
Rewrite the service definition, re-pin the runtime and restart it after an interrupted update.
service uninstall
Remove the service definition. Data and certificates are kept.
runtime status
Show the pinned Node runtime and the Node versions available from the live lookup.
runtime update
Move the service to a newer Node, with rollback if it fails.
daemon
Run the background worker in the foreground for debugging. No web port is opened.
update
Update Easy DevOps itself, then restart the service.
cleanup
List 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.
uninstall
Remove Easy DevOps. Needs --purge to do anything; the data directory is exported as a backup first.
dashboard setup-code
Issue 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 status
Show the Hub origin, server id, granted permissions and the agent state. Never prints the secret.
hub unlink
Remove the local pairing. Add --yes in a script. The Hub keeps the server listed as offline until it is deleted there.
system-info
Print detected system info (OS, Node, nginx) and exit.
Command
Description
--dash
Start the web dashboard in the foreground and print its URL. Ctrl+C stops it cleanly.
--dev
Use an isolated data directory (.dev-data in the project), so development never touches the installed configuration. Combines with --dash.
--classic-ui
Serve the old EJS dashboard instead of the React one, for one run. Temporary fallback.
--purge
With uninstall: remove the service, the pinned runtime and the data directory, after exporting a backup.
--days N
With cleanup: treat logs older than N days as reclaimable (default 14).
--yes
Answer confirmations yes. For scripts; uninstall --purge still prints what it will do.
-h, --help
Show the full command help.
-v, --version
Print the installed version and exit.
Command
Description
Reload nginx
Tests config, then sends a graceful reload. Shown while nginx is running.
Restart nginx
Tests config, then a full stop/start. Shown while nginx is running.
Stop nginx
Stop nginx. Shown while nginx is running.
Start nginx
Start an installed but stopped nginx.
Test config
Runs nginx -t and displays the result.
View error log
Shows the last 50 lines of the nginx error log.
Install nginx
Linux: apt-get. Windows: downloads the current stable build from nginx.org and extracts it into nginxDir (winget is not used).
Command
Description
List Domains
Show all configured domains in a table with status.
Add Domain
Interactive prompts for domain configuration, including SSL and optional certificate creation.
Edit Domain
Modify existing domain settings.
Enable / Disable
Toggle domain on/off without deleting the config.
Delete Domain
Remove a domain and its nginx config.
Command
Description
Create new certificate
Issue a new Let's Encrypt certificate via HTTP-01 or DNS-01 challenge.
Renew a certificate
Select and renew a specific certificate by domain.
Renew all expiring (< 30 days)
Batch-renew all certificates expiring within 30 days.
Command
Description
Switch Node version
Fetch the available LTS versions live from nvm, then switch to the selected one.
Manage global packages
Install, uninstall, or list globally installed npm packages.
Update npm
Update npm to the latest version.
Command
Description
Connect / re-pair
Paste 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.
Status
The Hub origin, server id, how many permissions are granted and the agent state, without any secret.
Unlink
Remove the pairing on this server. The Hub keeps the server row until it is deleted there.
Command
Description
Dashboard Port
Set the port the web dashboard listens on (default: 6443).
Dashboard Auth
Require a password, or run without one when the dashboard listens on this machine only.
Listen On
Shows that the dashboard is loopback-only. Remote access uses a local HTTPS reverse proxy or authenticated tunnel.
Nginx Directory
Set the nginx installation path (nginxDir).
SSL Directory
Set the SSL certificate storage root (sslDir).
ACME Email
Set the email used for Let's Encrypt account registration. Required before a certificate can be issued.
SSL Auto-Renew
Turn background HTTP-01 renewal on or off and set the window (1–30 days, default 7).
Deployments Folder
Where new deployed apps are created. Changing it does not move existing apps.
Setup Linux Permissions
Linux 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.