Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 802 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 802 Bytes

homebrew-Xray

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.

Install Xray-core

brew tap morooi/xray
brew install xray

Update Xray-core

brew update
brew upgrade xray

Uninstall Xray-core

brew uninstall xray
brew untap morooi/xray

Usage

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