This guide explains how to manually add the ProtonVPN repository to Ubuntu and install the GNOME desktop application.
sudo apt install gnupg wget -q -O - https://repo.protonvpn.com/debian/public_key.asc | sudo apt-key add -
Note: You may see a warning that `apt-key` is deprecated. This can be ignored for now.
echo "deb https://repo.protonvpn.com/debian stable main" | sudo tee /etc/apt/sources.list.d/protonvpn-stable-release.list
sudo apt update
sudo apt install proton-vpn-gnome-desktop
sudo apt install libayatana-appindicator3-1 gir1.2-ayatanaappindicator3-0.1 gnome-shell-extension-appindicator
If the package is still not found:
cat /etc/apt/sources.list.d/protonvpn-stable-release.list
It should contain:
deb https://repo.protonvpn.com/debian stable main
sudo apt clean && sudo apt update
If you prefer the command-line interface:
sudo apt install protonvpn-cli
Then log in and connect:
protonvpn-cli login YOUR_USERNAME protonvpn-cli connect --fastest
This guide explains how to install and use ProtonVPN via the command-line interface (CLI) on Ubuntu.
If the ProtonVPN repository is already added, simply run:
sudo apt install protonvpn-cli
If not, follow the repository setup instructions from the GUI installation page.
protonvpn-cli init
This will prompt you to choose:
protonvpn-cli login YOUR_USERNAME
Replace `YOUR_USERNAME` with your actual ProtonVPN account name.
To connect to the fastest available server:
protonvpn-cli connect --fastest
To connect to a specific country:
protonvpn-cli connect DE
To disconnect:
protonvpn-cli disconnect
Check connection status:
protonvpn-cli status
View current IP and server:
protonvpn-cli info
Enable kill switch:
protonvpn-cli killswitch --on
Enable auto-connect on boot:
protonvpn-cli configure --autoconnect on