Command Line Interface

Nomatron is in early access. Some advanced workflows may not be covered in the public docs.

The Nomatron CLI provides a fast, scriptable interface for interacting with a Nomatron deployment from the command line.

It is designed for platform engineers, developers, and operators who want to manage Nomatron resources, trigger deployments, and automate workflows without relying on the web interface.

The CLI enables you to:

  • authenticate with a Nomatron server;
  • manage organisations, users, and access control;
  • interact with clusters, applications, and environments;
  • trigger and manage deployment operations;
  • work with approval workflows; and
  • integrate Nomatron into scripts, CI/CD pipelines, and automation tooling.

The CLI is a thin client over the Nomatron API, meaning:

  • all operations map directly to API functionality;
  • behaviour is consistent with the UI and API; and
  • automation built with the CLI is portable and predictable.

The Nomatron CLI is particularly well-suited for:

  • scripting and automation workflows;
  • integrating Nomatron into CI/CD pipelines;
  • operational tasks and incident response; and
  • environments where a graphical interface is not practical.

Authentication is handled via the Nomatron API, and all actions are subject to Nomatron’s role-based access control model. Password login and OIDC SSO (nomatron login --oidc) both store a Nomatron JWT for subsequent commands.

This documentation covers installation, authentication, configuration, and the available commands, along with examples to help you get started quickly. See Authentication and OIDC .

Common Conventions

  • Use --addr to point the CLI at a specific API server.
  • Use NOMATRON_ADDR to set the server address globally.
  • Use NOMATRON_TOKEN (or --api-token-file / --api-token-stdin) to authenticate most API-backed commands. Do not pass tokens or passwords as plain flag values; secret flags have -file and -stdin forms.
  • nomatron login stores a token in ~/.nomatron/token.json, which API-backed commands will use automatically.
  • Add --format json or --json when you want machine-readable output.
  • Run nomatron <command> --help for the live source of truth on flags.

This reference covers the command families available in early access, including OIDC login and mappings (OIDC ), licence machine commands (License ), Application Networking (Cluster Networking and apps networks in Apps ), app stacks (apps stack in Apps ) and OAuth key rotation (OAuth ).