NodeRingsDocs

Command catalog

Exhaustive list of nr top-level commands and subcommands

Binary name: nr. Run nr <command> --help for the live flag list on your installed version.

Global flags

FlagDescription
--api-urlOverride API base URL (highest precedence)
--config-dirOverride config directory (default ~/.nr)
--org-idOrganization UUID (X-Organization-ID; required for nr cluster register)
--helpHelp for any command
--versionPrint version / commit / build date

nr auth

CommandDescription
nr auth loginBrowser OAuth login (PKCE)
nr auth statusShow authentication status (--output text|json)
nr auth refreshRefresh the OAuth access token
nr auth logoutRemove stored tokens
nr auth set-tokenStore a service account JWT (--token or --from-env)

nr agent

CommandDescription
nr agent createCreate an agent record (--name, --agent-ip, --gateway-region)
nr agent listList agents
nr agent getGet one agent (--agent-id or --name)
nr agent updateUpdate name/description (--set-name, --description)
nr agent deleteDelete agent (--force skips confirm)

Creating an agent record alone does not install k3s/Liqo. Prefer nr cluster register for full bootstrap.

nr service-account (nr sa)

CommandDescription
nr sa createCreate service account
nr sa listList service accounts
nr sa getGet by --id
nr sa updateUpdate name, description, active flag, allowed IPs
nr sa deleteDelete (--force skips confirm)
nr sa token generateMint JWT (--service-account-id, --name, --expires-in-days)
nr sa token listList tokens for a service account
nr sa token revokeRevoke by --token-id
nr sa role assignAssign or clear role (--role-id empty clears)
nr sa group addAdd service accounts to a group
nr sa group removeRemove service accounts from a group

nr cluster

Lifecycle

CommandDescription
nr cluster registerFull install + peer + optional operator (flags)
nr cluster verifyPost-register / standalone health gate
nr cluster deregisterUninstall local stack; optionally delete API agent
nr cluster rollbackRoll back to last successful checkpoint
nr cluster recoverReconcile local state with installed cluster
nr cluster resetClear checkpoints; keep agent identity

Diagnostics

CommandDescription
nr cluster statusPhase and reachability
nr cluster infoMetadata, versions, CIDRs
nr cluster healthComponent health checks
nr cluster logsRecent logs (--lines)
nr cluster debugWrite debug bundle under ~/.nr/debug-<timestamp>/

Most cluster commands accept --name and/or --agent-id. Diagnostics and verify also accept --output text|json.