Skip to content

morooi/homebrew-xray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

92cffb9 · Mar 22, 2025
Nov 4, 2024
Mar 22, 2025
Jan 25, 2021
Jan 26, 2021
Nov 4, 2024

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