How to log in to NordVPN on Linux devices without a GUI

We offer .deb and .rpm packages compatible with Debian 11 or newer, Ubuntu 20.04 or newer, Linux Mint 21 or newer, Raspberry PI OS, and Fedora 32 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. However, if you use a headless device and want to log in to NordVPN on your Linux machine without a graphical user interface, enter one of the following commands:

  • nordvpn login command with the --token flag
  • nordvpn login command with the --callback flag

When using the token login method, follow these steps:

  1. Log in to Nord Account.
  2. Find NordVPN under the Services menu.

    atsisiųsti.png
     
  3. Locate the Access token tab down below.
  4. Click on Generate new token.

    atsisiųsti__1_.png
     
  5. Pick one token that expires in 30 days or one that doesn’t. Proceed to Generate token.

    atsisiųsti__2_.png
     
  6. Click Copy and close.
  7. On your Linux machine, run the command: nordvpn login --token <your_token> and replace <your_token> with the copied token.

For example:

nordvpn login --token 3fe460ksdnf415e45908cec9f9bdbadf7a456a6dfb35dc2c58xxxxx

If you choose the callback login method:

  1. Run the command: nordvpn login.
  2. You'll receive a URL. Open it on any device that supports a browser.
  3. Finish the login process.
  4. Right-click on the Continue button and copy the link address.
  5. Run the command: ”nordvpn login --callback "<URL>" and replace <URL> with the copied link address.

For example:

nordvpn login --callback "nordvpn://login?action=login&exchange_token=MGFlY2E1N
mE4YjM2NDM4NjUzN2VjOWIzYWM3ZTU3ZDliNDdiNzRjZTMwMjE5Yjk
zZTNhNTI3ZWZlOTIwMGJlOQ%3D%3D&status=done"
Was this article helpful?

Still having issues?

  • Live chat

  • Email form

Chat functionality relies on cookies. By starting the chat, you agree to their use. Learn more in our Cookie Policy.