Package: protonvpn-cli
ProtonVPN-CLIA Linux CLI for ProtonVPN. Written in Python.ProtonVPN-CLI is a full rewrite of thebash protonvpn-cliin Python, which adds more features and functionality with the purpose of improving readability, speed and reliability.Important informationTheofficial ProtonVPN Linuxapp is available for Debian 10, Ubuntu 20+, Mint 19+, MX Linux 19+, Fedora 31+ and Archlinux / Manjaro. Where possible, we recommend that youupgrade to the official app.
The community Linux client described below remains available for those who need it.Installation & UpdatingFor more detailed information on installing, updating and uninstalling, please view the extensiveusage guide.Installing from distribution repositoriesFor the following Linux distribution(s), install the officialprotonvpn-clipackage:Fedorasudodnfinstall-yprotonvpn-cliCentOS & RHELprotonvpn-cliis available for CentOS/RHEL 7.x and 8.x via theEPEL repositories.For CentOS/RHEL 7.x:sudoyuminstallhttps://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudoyuminstallprotonvpn-cliFor CentOS/RHEL 8.x:sudodnfinstallhttps://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudodnfinstall-yprotonvpn-cliInstalling from PyPIInstalling DependenciesDependencies:openvpndialog (optional, needed for interactive selection)pip for python3 (pip3)python3.5+setuptools for python3 (python3-setuptools)Depending on your distribution, run the appropriate following command to install the necessary dependenciesDistroCommandFedora/CentOS/RHELsudo dnf install -y openvpn dialog python3-pip python3-setuptoolsUbuntu/Linux Mint/Debian and derivativessudo apt install -y openvpn dialog python3-pip python3-setuptoolsOpenSUSE/SLESsudo zypper in -y openvpn dialog python3-pip python3-setuptoolsArch Linux/Manjarosudo pacman -S openvpn dialog python-pip python-setuptoolsInstalling ProtonVPN-CLIInstallation happens via Python's package manager PIP.Note: Make sure to run pip with sudo, so it installs globally and recognizes the command with sudosudo pip3 install protonvpn-cliUpdating ProtonVPN-CLIsudo pip3 install protonvpn-cli --upgradeManual Installation from sourceDisclaimer: If you are unsure about what you're doing, please follow thenormal installation guide.It is recommended to do the manual installation in a virtual environment. Especially if it serves the purpose of developing.Clone this repositorygit clone https://github.com/ProtonVPN/linux-cli-communityStep into the directorycd linux-cliInstallpip3 install -e .For updating, you just need to pull the latest version of the repository with git.How to useFor more detailed information, see the extensiveusage guide.CommandDescriptionprotonvpn initInitialize ProtonVPN profile.protonvpn connect, cSelect a ProtonVPN server and connect to it.protonvpn c [servername]Connect to a specified server.protonvpn c -rConnect to a random server.protonvpn c -fConnect to the fastest server.protonvpn c --p2pConnect to the fastest P2P server.protonvpn c --cc [countrycode]Connect to the fastest server in a specified country.protonvpn c --scConnect to the fastest Secure Core server.protonvpn reconnect, rReconnect or connect to the last server used.protonvpn disconnect, dDisconnect the current session.protonvpn status, sPrint connection status.protonvpn configureChange CLI configuration.protonvpn refreshRefresh OpenVPN configuration and server data.protonvpn examplesPrint example commands.protonvpn --versionDisplay version.protonvpn --helpShow help message.All connect options can be used with the-pflag to explicitly specify which transmission protocol is used for that connection (eitherudportcp).ContributingIf you want to contribute to this project, please read thecontribution guide.