Homebrew tap for v2ray-core.
brew tap cani1see/v2ray
brew install v2ray-core
First, you should configure /usr/local/etc/config.json
.
Then, to have launchd start v2ray-core now and restart at login:
brew services start v2ray-core
Or, if you don't want/need a background service you can just run:
v2ray -config=/usr/local/etc/config.json
More about v2ray: https://www.v2ray.com/