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
--addrto point the CLI at a specific API server. - Use
NOMATRON_ADDRto 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-fileand-stdinforms. nomatron loginstores a token in~/.nomatron/token.json, which API-backed commands will use automatically.- Add
--format jsonor--jsonwhen you want machine-readable output. - Run
nomatron <command> --helpfor 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
).
Authenticate the CLI against the Nomatron API.
Manage applications with Nomatron CLI.
Log in to Nomatron with OIDC providers and manage group-to-role mappings.
Manage app jobs with Nomatron CLI.
View audit logs using the Nomatron CLI.
Manage connected Nomad clusters with Nomatron CLI.
Manage Application Networking, Host Agents and Cilium policies on a cluster with the Nomatron CLI.
Manage the Nomatron database with the Nomatron CLI.
Manage environments with Nomatron CLI.
Manage GitHub with Nomatron CLI.
Manage organization groups with Nomatron CLI.
Inspect and manage this installation's licence machine seats with the Nomatron CLI.
Manage network agents with Nomatron CLI.
View operations with Nomatron CLI.
Rotate the signing key Nomatron uses for OAuth access tokens.
Manage organizations with Nomatron CLI.
View RBAC permissions with Nomatron CLI.
Manage RBAC roles with Nomatron CLI.
Runtime commands in Nomatron CLI.
Manage service accounts with Nomatron CLI.
Run systems commands with Nomatron CLI.
Manage job templates with Nomatron CLI.
Manage users with Nomatron CLI.
Utility commands
Manage variables with Nomatron CLI.