Install NordVPN on Linux – Complete Guide

To install NordVPN on Linux, run NordVPN’s install script with sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh), then log in with nordvpn login and connect with nordvpn connect. It supports Debian 12+, Ubuntu 22.04+, Linux Mint 21+ and Fedora 43+.
I recently wrote an article that compared the two most popular VPN providers out there: Private Internet Access and NordVPN. After using NordVPN for a good while, I had to install it on a couple of Linux machines and thought the process might not be as straightforward for everyone as it is for me. Gladly, it’s really easy to install NordVPN on Linux and I am going to show you how to do it.
Short version
sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh)
nordvpn login
nordvpn connectTable of Contents
- Short version
- Step 1 - Install NordVPN on Linux
- Step 2 - Logging in to NordVPN
- Logging in
- Logging in without a browser
- Step 3 - Connecting and Other Commands
- Connecting
- Disconnecting
- Listing Countries
- Connecting to a different country
- Checking the status and settings
- The Older Manual Repository Method
- FAQ
- Which Linux distributions does NordVPN support?
- How do I fix the permission denied error on nordvpnd.sock?
- Is there a NordVPN GUI for Linux?
- How do I enable the NordVPN kill switch on Linux?
- Conclusion
Step 1 - Install NordVPN on Linux
NordVPN’s current install guide uses an install script. It works for the CLI app and sets up the package repository for you. Open a terminal and run:
sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh)If curl is missing, use wget instead:
sh <(wget -qO - https://downloads.nordcdn.com/apps/linux/install.sh)Follow any prompts on screen. NordVPN provides .deb and .rpm packages for Debian 12 or newer, Ubuntu 22.04 or newer, Linux Mint 21 or newer, Raspberry Pi OS and Fedora 43 or newer. Other distributions may work, but NordVPN offers limited help for them.
The screenshot below shows the older apt-based install. The current install runs through the script, so the output looks different.

When you are done with this, we can go ahead and log in.
Step 2 - Logging in to NordVPN
Logging in
nordvpn loginThe command gives you a link. Finish the login in your browser and the CLI picks it up.

Logging in without a browser
On a headless server, log in with an access token instead. In your Nord Account, open NordVPN, go to the advanced settings tab and generate an access token. NordVPN shows the token only once, so copy it before you close the window.
nordvpn login --token <token>Note that nordvpn logout invalidates the token. If you want to reuse it, log out with nordvpn logout --persist-token.
Step 3 - Connecting and Other Commands
Connecting
nordvpn connectDisconnecting
nordvpn disconnectListing Countries
nordvpn countriesConnecting to a different country
Pick a name from the list above:
nordvpn connect <country>Checking the status and settings
nordvpn status
nordvpn settingsTo change an option, use nordvpn set. Run nordvpn help for the command list or man nordvpn for the full reference.
The Older Manual Repository Method
When I first wrote this guide, you downloaded NordVPN’s repository package, installed it with apt and then installed the nordvpn package. The screenshots below show that flow. NordVPN’s current docs point to the install script instead, so I would use it.


FAQ
Which Linux distributions does NordVPN support?
NordVPN provides packages for Debian 12 or newer, Ubuntu 22.04 or newer, Linux Mint 21 or newer, Raspberry Pi OS and Fedora 43 or newer. It also supports the GNOME and KDE desktop environments. Other distributions may work, but NordVPN offers limited troubleshooting for them.
How do I fix the permission denied error on nordvpnd.sock?
If you see “Permission denied accessing /run/nordvpn/nordvpnd.sock”, add your user to the nordvpn group and reboot:
sudo usermod -aG nordvpn $USERIs there a NordVPN GUI for Linux?
Yes. NordVPN’s install script has a GUI option: sh <(wget -qO - https://downloads.nordcdn.com/apps/linux/install.sh) -p nordvpn-gui. Afterwards, open NordVPN from your application menu and log in.
How do I enable the NordVPN kill switch on Linux?
Run nordvpn set killswitch on. Turn it off again with nordvpn set killswitch off.
Conclusion
There is also a way to set this up in OpenVPN, but to be honest, the NordVPN app is much easier for me. I use NordVPN for over a month now and I am very satisfied with their service so far. I got a free account from them to test it out and if you want to try them, sign up through my Affiliate Link so I get a small commission and you get a nice discount if you decide for a 3-year deal.
3 thoughts on “Install NordVPN on Linux – Complete Guide”
Comments are closed. I keep the discussion here because the answers still help.
More posts
All Linux


Do you have a bash script that can do this automatically at start up?
I had no problems installing and connecting . Great tutorial. Thank you for taking the time to create this.
Hey Dan, glad to hear! Thanks for leaving a comment!