Install nais-cli¶
- Install Homebrew (unless you already have it)
- Add the nais tap
- Install the nais-cli
- Add the nais PPA repo:
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:
Install using Scoop¶
- Install Scoop unless you already have it.
- Add the nais bucket
powershell scoop bucket add nais https://github.com/nais/scoop-bucket
- Install nais-cli
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.