The homebrew tap for v2ray-core.
NOTE: v2ray-core has entered homebrew-core.
We suggest installing v2ray-core with
brew install v2ray.However, you can continue using this tap.
step 1: Add official tap
brew tap v2ray/v2raystep 2: Install v2ray-core:
brew install v2ray-corestep 1: update tap
brew updatestep 2: update v2ray-core
brew upgrade v2ray-corestep 1: uninstall core
brew uninstall v2ray-corestep 2: untap official formula
brew untap v2ray/v2rayonce you installed, you can run command via v2ray to run v2ray-core.
The defualt config file location is:/usr/local/etc/v2ray/config.json
step 1: edit the default config:
vim /usr/local/etc/v2ray/config.jsonstep 2: run v2ray-core without starting at login.
brew services run v2ray-coreor run v2ray-core and register it to launch at login via:
brew services start v2ray-core