Install via npm
Install CloudCLI UI globally with npm so you can start it with a single command from anywhere on your machine.
Installing CloudCLI UI globally with npm gives you a single short command to start it from any directory.
Before continuing, make sure you've covered the Prerequisites.
Install
npm install -g @cloudcli-ai/cloudcliThe package used to be called @siteboon/claude-code-ui. That name is deprecated and no longer updated. If you still have it, uninstall it and install @cloudcli-ai/cloudcli.
Start
cloudcliThe server starts at http://localhost:3001 by default. The first time you open it, you create the account for this install. See Login and Accounts.
CLI Reference
| Command | Description |
|---|---|
cloudcli | Start the server |
cloudcli start | Start the server explicitly |
cloudcli status | Show configuration and data locations |
cloudcli update | Update to the latest version |
cloudcli version | Show version information |
cloudcli help | Show help |
cloudcli -p 8080 | Start on a custom port |
Updating
cloudcli updateRestart cloudcli afterwards to run the new version. Release notes for every version are on GitHub Releases.
Uninstalling
npm uninstall -g @cloudcli-ai/cloudcliThis removes the program. Your account and settings stay in the .cloudcli folder in your home directory. Delete that folder too if you want everything removed.
Running as a Background Service
For always-on access where CloudCLI UI keeps running even when your terminal is closed and restarts automatically on machine reboot, use PM2.
Install PM2
npm install -g pm2Start as a Background Service
pm2 start cloudcli --name "cloudcli-ui"To start on a custom port:
pm2 start cloudcli --name "cloudcli-ui" -- --port 8080Auto-Start on System Boot
pm2 startup
pm2 savePM2 will output a command to run — copy and run it to complete the setup.
Useful PM2 Commands
| Command | Description |
|---|---|
pm2 list | Show all running services |
pm2 logs cloudcli-ui | View logs |
pm2 stop cloudcli-ui | Stop the service |
pm2 restart cloudcli-ui | Restart the service |
pm2 delete cloudcli-ui | Remove from PM2 |
Note: Running CloudCLI UI in the background keeps the UI server alive, not your agent sessions. If you want agent sessions that persist independently of your machine, see CloudCLI Cloud.
Configuration
For a globally installed CLI, environment variables are set in your shell profile rather than a .env file. See the Configuration guide for all available options and how to set them.
Next steps
- Want to access CloudCLI UI from outside your local network? See self-hosting on a remote server
- Prefer a managed solution? Run Claude Code remotely with CloudCLI Cloud and skip the server setup entirely
- Use it from your phone: Claude Code on mobile