Install Wireguard CLI without homebrew?

I am building an application that creates VPN tunnels using wireguard.

Currently wireguard is available as CLI only through brew or port. (Official Download Page)

To avoid installing homebrew, I downloaded pre-built binaries from here

But that throws "unidentified developer" error and fails to run.

How do I fix this? Does it need signing or is there something else homebrew seems to be doing which I can replicate?

Or is there a 3rd party option for signed wireguard binaries for macOS (couldn't find through Google).

Thanks!


Solution 1:

  1. Try to open your binaries.
  2. Open System Preferences.
  3. Go to Security & Privacy and select the General tab. unblock app

Source