We offer .deb and .rpm packages compatible with Debian 12 or newer, Ubuntu 22.04 or newer, Linux Mint 21 or newer, Raspberry Pi OS, and Fedora 43 or newer systems. Community-supported distributions may also work, but there is limited troubleshooting regarding distribution-specific issues. Moreover, we support GNOME and KDE desktop environments.
Additionally, NordVPN Linux applications have multiple ways to log in, one of which is via a token generated from NordAccount. In this article, you will learn how to use a token to log in and log out of the NordVPN app on a Linux machine without a graphical user interface, and what to do if you lose your token.
NOTE: This login method is also suitable for headless (no GUI) devices.
Logging in
If you need an alternative way to log in to the Linux application, use the following command:
nordvpn login --token <token>You’ll need to access the token number to use this login method.
To access the token:
- Log in to Nord Account:
- Click on NordVPN:
- Scroll down until you see the advanced settings tab. Click get access token:
- Verify your email by entering a code you receive to your registered email.
- Click on Generate new token:
- Select one of the two options:
- Create a temporary token, which will expire after 30 days.
- Create a token that will not expire. We recommend enabling MFA if you choose this option.
- Click on Generate token.
- A window with a token number will pop up.
NOTE: The token number will only be shown once. Make sure you log in before you close the window.
- Once you copy the token number, paste it into the command:
nordvpn login --token your_tokenLogging out
- If you log out by using the nordvpn logout command line, your token will expire, regardless of which token you created, and you won’t be able to log in again using it:
- If you want to re-use your token and do not want it to expire, use the nordvpn logout --persist-token command line:
What if the token number for NordVPN expires?
If you lost your NordVPN token or it expired, revoke it by clicking the Revoke button, then clicking Generate new token.