Skip to content

Installation

macOS Installation

  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
    

Windows Installation

Install using Scoop

  1. Install Scoop unless you already have it.
  2. Add the nais bucket
    scoop bucket add nais https://github.com/nais/scoop-bucket
    
  3. Install nais-cli
    scoop install nais-cli
    

Manual installation

Download the archive for windows and unpack the tool to a directory on your $PATH.

Install nais-cli

Ubuntu Installation

  1. Add the nais PPA repo:
    NAIS_GPG_KEY="/usr/share/keyrings/nav_nais.gpg"
    curl -sfSL "https://ppa.nais.io/KEY.gpg" | gpg --dearmor | sudo dd of="$NAIS_GPG_KEY"
    echo "deb [signed-by=$NAIS_GPG_KEY] https://ppa.nais.io/ ./" | sudo tee /etc/apt/sources.list.d/nav_nais.list
    sudo apt update # Now you can apt install nais
    
  2. Install the nais package:
    sudo apt install nais
    

Last update: 2022-10-18
Created: 2021-09-24