Skip to content

Install naisdeviceΒΆ

Device-specific installation stepsΒΆ

  1. Install Homebrew unless you already have it.

Homebrew makes it possible to install and maintain apps using the terminal app on your Mac.

  1. Open terminal (Use <Command> + <Space> to find Terminal.app) and add the nais tap by typing or pasting the text below and press <Enter>.

Adding the nais tap lets Homebrew know where to get and update files from. Do not worry about where it will be installed, we got you covered.

brew tap nais/tap
  1. When the tap is added, you are ready to install naisdevice, by typing or pasting the following in terminal and press <Enter>.

    brew install naisdevice-tenant
    

  2. You will be asked for your local device account's password to finish the installation.

  3. Turn on your freshly installed naisdevice app.

  4. Use <Command> + <Space> to find your naisdevice.app and press <Enter>.
  5. Follow the instructions to connect your nais device.
  1. Install Scoop unless you already have it.

    Scoop makes it possible to install and maintain programs from the command line.
    

  2. Use the following command in the command line to add the nais bucket to let Scoop know where to get and update files from. Do not worry about where it will be installed, we got you covered.

    scoop bucket add nais https://github.com/nais/scoop-bucket
    

  3. When the bucket is added, you are ready to install naisdevice, by typing the following in the command line:

    scoop install naisdevice-tenant
    
    (you will be asked for administrator access to run the installer)

  4. Start naisdevice from the Start menu

  1. Open a browser.
  2. Go to github.com/naid/device.
  3. Download and run the newest naisdevice-tenant.exe installer (you will be asked for administrator access when you run the installer).
  4. Start naisdevice from the Start menu.

Warning

Using Gnome DE on latest Ubuntu LTS - only supported variant atm

  1. 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

NOTE curl is not installed in a "fresh" ubuntu:

sudo apt install curl
  1. Install the naisdevice package:
sudo apt install naisdevice-tenant
  1. Turn on your freshly installed naisdevice application.
  2. Find naisdevice in your application menu, or use the naisdevice command in a terminal to start the application.
  3. Follow the instructions to connect your nais device.

Connect naisdevice through task/sys -tray iconΒΆ

A macOS systray exemplifying a red-colored naisdevice icon.

When you have opened naisdevice, you may be concerned that nothing happened. The little naisdevice icon has appeared in your Systray (where all your small program icons are located - see above picture for how it looks on Mac):

  1. Find your naisdevice icon (pictured above - though it should not be red at first attempted connection).
  2. Left-click it and select Connect.
  3. Left-click the naisdevice icon again and click Connect.
    • You might need to allow ~20 seconds to pass before clicking Connect turns your naisdevice icon green.