Skip to content

nais/cli

Repository files navigation

nais-cli - A Nais command-line interface

See Nais doc for usage instructions: nais-cli

Local Development

Install the required go version:

mise install

Build nais cli

mise run build

Run tests

mise run test

Verify nais cli

./bin/nais --version

Setup shell completion for local builds

source <(./bin/nais completion zsh|bash|fish|powershell)

Instrumentation

We use otel for instrumentation and record the user interaction with the CLI to see if we can optimize the user experience.

We respect your privacy and do not collect any data if you set the environment variable DO_NOT_TRACK according to the Do Not Track.

There's a grafana dashboard