Skip to content

morooi/homebrew-xray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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