Install nais-cli ΒΆ
- Install Homebrew (unless you already have it)
- Add the nais tapbash
brew tap nais/tap - Install the nais-clibash
brew install nais
Tip
The PPA repo is shared between nais-cli and naisdevice, so the first step may be unnecessary.
- Add the nais PPA repo:Plaintext
NAIS_GPG_KEY="/etc/apt/keyrings/nav_nais_gar.asc" curl -sfSL "https://europe-north1-apt.pkg.dev/doc/repo-signing-key.gpg" | sudo dd of="$NAIS_GPG_KEY" echo "deb [arch=amd64 signed-by=$NAIS_GPG_KEY] https://europe-north1-apt.pkg.dev/projects/nais-io nais-ppa main" | sudo tee /etc/apt/sources.list.d/nav_nais_gar.list sudo apt update - Install the nais package:Plaintext
sudo apt install nais
Download the archive for windows from nais/cli and unpack the tool to a directory on your $PATH.
If you are unable to run nais after installing, check out our troubleshooting guide.