Install naisdevice¶
Warning
The issues reported by Kolide must be addressed - these remediations have been vetted by the Nais team and should be followed. Depending on the issue, you might lose naisdevice connectivity if an issue is left unresolved for a sufficient length of time.
To make sure you are using naisdevice as securely as possible, make sure you are a member of the Slack channel #naisdevice. Important information will be published there. This also where you find us, if you need any help.
Device-specific installation steps¶
-
Go here, log in, and follow the prompts.
- If Kolide reports any issues, follow the instructions on how to remediate them. If a remediation required by Kolide makes you feel unsafe - feel free to ask in #naisdevice Slack channel.
-
Install Homebrew unless you already have it.
- Run these commands in a terminal
-
You will be asked for your local device account's password to finish the installation.
- The password is not accepted unless you have administrator privileges, so you need to get that first.
- If you're running a NAV Mac: Open your
Privileges.app(Use<Command> + <Space>to find thePrivileges.appand request privileges. When this is done, you can enter your password in terminal. The privileges last 10 minutes. The limited time is due to security reasons, because we know many of us forget to turn it off afterwards.
-
Turn on your freshly installed
naisdeviceapp. - Use
<Command> + <Space>to find yournaisdevice.appand press<Enter>.
-
Go here, log in, and follow the prompts.
- If Kolide reports any issues, follow the instructions on how to remediate them. If a remediation required by Kolide makes you feel unsafe - feel free to ask in #naisdevice Slack channel.
-
Install Scoop unless you already have it.
-
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.
-
When the bucket is added, you are ready to install naisdevice, by typing the following in the command line:
(you will be asked for administrator access to run the installer) -
Start naisdevice from the Start menu
-
Go here, log in, and follow the prompts.
- If Kolide reports any issues, follow the instructions on how to remediate them. If a remediation required by Kolide makes you feel unsafe - feel free to ask in #naisdevice Slack channel.
-
Go to github.com/nais/device.
- Download and run the newest
naisdevice.exeinstaller (you will be asked for administrator access when you run the installer). - Start naisdevice from the Start menu.
Warning
Using Gnome DE on latest Ubuntu LTS - only supported variant
-
Go here, log in, and follow the prompts.
- If Kolide reports any issues, follow the instructions on how to remediate them. If a remediation required by Kolide makes you feel unsafe - feel free to ask in #naisdevice Slack channel.
-
Install curl
-
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 naisdevice package:
-
Find
naisdevicein your application menu, or use thenaisdevicecommand in a terminal to start the application.
Connect naisdevice through task/sys -tray icon¶
When you have opened naisdevice the naisdevice icon appears in your Systray (where all your small program icons are located - see above picture for how it looks on Mac):
- Find your
naisdeviceicon (pictured above). - Can't find the icon? Make sure it is installed (See macOS, Windows (Scoop) or Ubuntu)
- Left-click it and select
Connect. - Left-click the
naisdeviceicon again and clickConnect. - You might need to allow ~20 seconds to pass before clicking
Connectturns yournaisdeviceicon green.