The homebrew tap for Xray-core.
This tap replaces the geoip.dat
and geosite.dat
files in the Xray-core project with Loyalsoldier/v2ray-rules-dat.
brew tap morooi/xray
brew install xray
brew update
brew upgrade xray
brew uninstall xray
brew untap morooi/xray
The defualt config file location is: /usr/local/etc/xray/config.json
You can get some example configs at https://github.com/XTLS/Xray-examples
run Xray-core without starting at login:
brew services run xray
run Xray-core and register it to launch at login:
brew services start xray