Skip to content

Interfaces

CLI

The ninedeploy command — full scriptability.

The CLI communicates with the REST API using the typed SDK. User credentials live in ~/.ninedeploy/config.json (0600 permissions).

ninedeploy setup                     # bootstrap first admin
ninedeploy login                     # authenticate interactively
ninedeploy services list             # list workspace services
ninedeploy services deploy 12        # trigger a deploy (service ID)
ninedeploy deploys watch 12 480      # stream live build logs (IDs)
ninedeploy deploys rollback 12 480   # rollback to exact digest
ninedeploy env set 12 API_KEY …      # encrypted secret
ninedeploy domains add 12 app.example.com
ninedeploy backups create 3          # snapshot database #3
ninedeploy system dashboard          # live status board (terminal)

The canonical guides live in the repository's docs folder.