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:
- Log in to Nord Account.
- Find NordVPN under the Services menu.
- Locate the Access token tab down below.
- Click on Generate new token.
- Pick either token: one that expires in 30 days or one that doesn’t expire. Proceed to Generate token.
- Click Copy and close.
- 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:
- Run the command: nordvpn login.
- You'll receive a URL. Open it on any device that supports a browser.
- Finish the login process.
- Right-click on the Continue button and copy the link address.
- 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"