{"id":14110628,"url":"https://github.com/ProtonVPN/protonvpn-cli","last_synced_at":"2025-08-01T10:34:52.607Z","repository":{"id":59855135,"uuid":"124402220","full_name":"ProtonVPN/protonvpn-cli","owner":"ProtonVPN","description":"Legacy protonvpn-cli: ProtonVPN Command-Line Tool for Linux and macOS. This has been superseded by https://github.com/ProtonVPN/protonvpn-cli-ng","archived":true,"fork":false,"pushed_at":"2019-11-25T11:10:22.000Z","size":130,"stargazers_count":603,"open_issues_count":29,"forks_count":96,"subscribers_count":46,"default_branch":"master","last_synced_at":"2024-08-14T10:16:13.562Z","etag":null,"topics":["linux","macos","protonvpn","protonvpn-cli","vpn"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProtonVPN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-08T14:21:20.000Z","updated_at":"2024-08-02T02:21:17.000Z","dependencies_parsed_at":"2022-09-23T11:30:34.305Z","dependency_job_id":null,"html_url":"https://github.com/ProtonVPN/protonvpn-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProtonVPN%2Fprotonvpn-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProtonVPN%2Fprotonvpn-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProtonVPN%2Fprotonvpn-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProtonVPN%2Fprotonvpn-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProtonVPN","download_url":"https://codeload.github.com/ProtonVPN/protonvpn-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228369456,"owners_count":17909260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linux","macos","protonvpn","protonvpn-cli","vpn"],"created_at":"2024-08-14T10:02:55.995Z","updated_at":"2024-12-05T20:31:05.865Z","avatar_url":"https://github.com/ProtonVPN.png","language":"Shell","readme":"*protonvpn-cli*\n================\n\n![protonvpn-cli](https://i.imgur.com/tDrwkX5l.png)\n\n# Deprecation warning\n\nThis Version of ProtonVPN-CLI has been deprecated and is no longer maintained by the ProtonVPN Team.\n\nIt is superseded by Version 2. Due to the new version being written in Python, you can't update it with the `--update` option. The new version needs to be installed manually. For installation instructions, please visit the project page at\n\nhttps://github.com/ProtonVPN/protonvpn-cli-ng\n\n*Note: To disable the deprecation warning in the program, create a file called `deprecation_warning` in the `~/.protonvpn-cli` configuration folder.*\n\n# Overview #\nprotonvpn-cli is a command-line tool for Linux and macOS.\n\n# Requirements #\n\n* `openvpn`\n* `python`\n* `dialog`\n* `wget`\n* `sysctl`\n* `sha512sum`\n\nThe program automatically checks for missing requirements.\n\n\n# Installation #\n\n```bash\n$ git clone \"https://github.com/protonvpn/protonvpn-cli\"\n$ cd protonvpn-cli\n$ sudo ./protonvpn-cli.sh --install\n```\n\n### Or (one-liner): ###\n\n#### (via `git`) ####\n\n```bash\n$ sudo bash -c \"git clone https://github.com/ProtonVPN/protonvpn-cli.git \u0026\u0026 ./protonvpn-cli/protonvpn-cli.sh --install\"\n```\n#### (via `wget`) ####\n```bash\n$ wget \"https://github.com/ProtonVPN/protonvpn-cli/raw/master/protonvpn-cli.sh\" -O \"protonvpn-cli.sh\" \u0026\u0026 sudo bash protonvpn-cli.sh --install\n```\n\n\n# Usage #\n\n| **Command**                                   | **Description**                                                |\n| :-------------------------------------------- | :------------------------------------------------------------- |\n| `protonvpn-cli --init`                        | Initialize ProtonVPN profile on the machine.                   |\n| `protonvpn-cli -c, --connect`                 | Select and connect to a ProtonVPN server.                      |\n| `protonvpn-cli -c [server-name] [protocol]`   | Connect to a ProtonVPN server by name.                         |\n| `protonvpn-cli -m, --menu`                    | Select and connect to a ProtonVPN server from a menu.          |\n| `protonvpn-cli -r, --random-connect`          | Connect to a random ProtonVPN server.                          |\n| `protonvpn-cli -l, --last-connect`            | Connect to the previously used ProtonVPN server.               |\n| `protonvpn-cli -f, --fastest-connect`         | Connect to the fastest available ProtonVPN server.             |\n| `protonvpn-cli -p2p, --p2p-connect`           | Connect to the fastest available P2P ProtonVPN server.         |\n| `protonvpn-cli -tor, --tor-connect`           | Connect to the fastest available ProtonVPN TOR server.         |\n| `protonvpn-cli -sc, --secure-core-connect`    | Connect to the fastest available ProtonVPN SecureCore server.  |\n| `protonvpn-cli -cc, --country-connect`        | Select and connect to a ProtonVPN server by country.           |\n| `protonvpn-cli -cc [country-name] [protocol]` | Connect to the fastest available server in a specific country. |\n| `protonvpn-cli -d, --disconnect`              | Disconnect the current session.                                |\n| `protonvpn-cli --reconnect`                   | Reconnect to the current ProtonVPN server.                     |\n| `protonvpn-cli --ip`                          | Print the current public IP address.                           |\n| `protonvpn-cli --status`                      | Print connection status.                                       |\n| `protonvpn-cli --update`                      | Update protonvpn-cli.                                          |\n| `protonvpn-cli --install`                     | Install protonvpn-cli.                                         |\n| `protonvpn-cli --uninstall`                   | Uninstall protonvpn-cli.                                       |\n| `protonvpn-cli --version`                     | Display version.                                               |\n| `protonvpn-cli --help`                        | Show help message.                                             |\n\n\nprotonvpn-cli can also be used by typing `pvpn`, once installed.\n\n\n# Compatibility #\n* Linux\n* macOS\n\n# License #\n\nprotonvpn-cli is released under the MIT license.\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FProtonVPN%2Fprotonvpn-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FProtonVPN%2Fprotonvpn-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FProtonVPN%2Fprotonvpn-cli/lists"}