Skip to content

Install nais-cli

  1. Install Homebrew (unless you already have it)
  2. Add the nais tap
    brew tap nais/tap
  3. Install the nais-cli
    brew install nais
  1. Add the nais PPA repo:
    curl -sfSL "" | sudo dd of="$NAIS_GPG_KEY"
    echo "deb [arch=amd64 signed-by=$NAIS_GPG_KEY] nais-ppa main" | sudo tee /etc/apt/sources.list.d/nav_nais_gar.list
    sudo apt update
  2. Install the nais package:
    sudo apt install nais

Install using Scoop

  1. Install Scoop unless you already have it.
  2. Add the nais bucket powershell scoop bucket add nais
  3. Install nais-cli
    scoop 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.