


Now you have access to the protonvpn command. To install ProtonVPN-CLI type sudo pip3 install protonvpn-cli in the terminal and confirm with Enter again. To install ProtonVPN-CLI's dependencies, open a terminal and type sudo apt install -y dialog openvpn python3-pip python3-setuptools and confirm with Enter. Run sudo protonvpn init and follow the prompts on the screen. Updateīefore you can use ProtonVPN-CLI, you need to initialize it. Now you should be able to use the protonvpn command from anywhere in the system without issues. Sudo ln -sf ~/ProtonVPN-CLI/bin/protonvpn /usr/local/bin/protonvpn Link the executable from above (output of the which command) to a PATH folder so you can access it from anywhere If that works, deactivate the virtual environment again You should now have the executable ~/ProtonVPN-CLI/bin/protonvpn.

Now that you're in the virtual environment, install ProtonVPN-CLIĪs you're in the virtualenv, pip should be the same as pip3. InstallĬreate a virtual environment and activate it If you're having trouble with the normal installation or don't want to install ProtonVPN-CLI as root, follow this guide to install it in a Python virtual environment. Then uninstall through the package manager you used for installation.īye Bye 😔 Installing in a virtual environment If you want to uninstall ProtonVPN-CLI, run protonvpn configure first and purge the configuration. Sudo pip3 install protonvpn-cli -upgrade Uninstall Sudo pip3 install protonvpn-cli Updating ProtonVPN-CLI Note: Make sure to run pip with sudo, so it installs globally and recognizes the command with sudo Installation happens via Python's package manager PIP. Sudo pacman -S openvpn dialog python-pip python-setuptools Sudo zypper in -y openvpn dialog python3-pip python3-setuptools Sudo apt install -y openvpn dialog python3-pip python3-setuptools Sudo dnf install -y openvpn dialog python3-pip python3-setuptools setuptools for python3 (python3-setuptools)ĭepending on your distribution, run the appropriate following command to install the necessary dependencies Distro.dialog (optional, needed for interactive selection).

Sudo dnf install -y protonvpn-cli Installing from PyPI Installation & Updating Installing from distribution repositoriesįor the following Linux distribution(s), install the official protonvpn-cli package: Fedora Installing from distribution repositories.This document provides an extensive guide on how to install and use ProtonVPN-CLI, as well as explanations about its advanced features and optional enhancements.
