https://github.com/nais/cli
A Nais CLI
https://github.com/nais/cli
cli kafka kubernetes nais postgres
Last synced: 3 months ago
JSON representation
A Nais CLI
- Host: GitHub
- URL: https://github.com/nais/cli
- Owner: nais
- License: mit
- Created: 2021-08-31T08:46:49.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2026-03-30T17:15:47.000Z (4 months ago)
- Last Synced: 2026-04-02T02:36:29.902Z (3 months ago)
- Topics: cli, kafka, kubernetes, nais, postgres
- Language: Go
- Homepage: https://cli.nais.io/
- Size: 4.45 MB
- Stars: 2
- Watchers: 4
- Forks: 4
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Codeowners: .github/CODEOWNERS
- Agents: AGENTS.md
Awesome Lists containing this project
README
# Nais Command Line Interface
This repository contains the source code for the [Nais](https://nais.io) command line interface (CLI).
See the [CLI documentation](https://cli.nais.io) for usage instructions.
## Local Development
### Install the required go version:
```bash
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](https://opentelemetry.io) 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](https://consoledonottrack.com).
There's a [grafana dashboard](https://monitoring.nais.io/d/ce2c9sehbbbwgd/nais-cli?orgId=1&from=now-24h&to=now).
## Contributing
This repo uses [Conventional Commits](https://www.conventionalcommits.org/). Please read up on how to format your commit messages. Please see the [pre-commit hook](script/semantic-commit-hook.sh) to see which types we allow.