English
简体中文繁體中文EnglishРусскийفارسی

Home › Download › macOS

Install on a Mac

Two ways to run WireGuard on a Mac: the App Store app and wireguard-tools from Homebrew, importing a config, permissions and on-demand connection.

macOS

macOS 12 and later

Installing WireGuard on a Mac
Installing WireGuard on a Mac www.Pixel.la Free Stock Photos, CC0

The app

  1. Install WireGuard from the Mac App Store, by WireGuard LLC.
  2. Its icon sits in the menu bar. Open Manage tunnels and import a .conf.
  3. macOS asks to add a VPN configuration. Choose Allow.
  4. Press Activate.
The window (schematic)

On demand

Edit the tunnel and tick On-Demand. "Every network except my Wi-Fi at home" drops it when you arrive and brings it back when you leave.

Command line

Terminal
brew install wireguard-tools
sudo mkdir -p /usr/local/etc/wireguard
sudo wg-quick up wg0

On Apple silicon Homebrew lives in /opt/homebrew, so configs go to /opt/homebrew/etc/wireguard. No icon and no start at boot; for people at home in a terminal.

It is not in my App Store.

Use an Apple ID from another country, or the command line version.

Can both be installed?

Yes, but do not run the same configuration in both.

On the same round

Postcodes: WireGuard Mac, WireGuard macOS, WireGuard Homebrew