Authentication

Sign in interactively or configure a token for CI.

Edit

Browser login

nitropush login
nitropush whoami

Login opens the dashboard. Generate and copy the CLI token, then paste it into the hidden terminal prompt. The CLI verifies the token before storing the local session in ~/.nitropush/config.json. No localhost callback or browser local-network permission is required.

Use a custom admin URL only for self-hosting:

nitropush login --server https://updates.example.com

Token login

nitropush login \
  --token "$NITROPUSH_API_TOKEN" \
  --org "$NITROPUSH_ORG_ID" \
  --user "$NITROPUSH_USER_ID"

Useful checks:

nitropush whoami --json
nitropush whoami --offline
nitropush logout

whoami --json is the structured output intended for scripts. Other commands use human-readable output.

On this page