Install WireGuard on macOS
Install WireGuard CLI
Before you start with our WireGuard CLI guide, please make sure that you have Homebrew installed.
-
Install wireguard-tools and jq with brew.
brew install wireguard-tools jq
-
Run our configuration script and enter your username and password when prompted.
curl -LO https://www.azirevpn.com/assets/dl/azirevpn-wg.sh && chmod +x ./azirevpn-wg.sh && ./azirevpn-wg.sh
-
Turn on WireGuard.
wg-quick up azirevpn-se1
-
Turn off WireGuard.
wg-quick down azirevpn-se1