Skip to content

v2ray/homebrew-v2ray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebrew v2ray Build Status

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.


Install v2ray-core

step 1: Add official tap

brew tap v2ray/v2ray

step 2: Install v2ray-core:

brew install v2ray-core

Update v2ray-core

step 1: update tap

brew update

step 2: update v2ray-core

brew upgrade v2ray-core

Uninstall v2ray-core

step 1: uninstall core

brew uninstall v2ray-core

step 2: untap official formula

brew untap v2ray/v2ray

Usage

once 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.json

step 2: run v2ray-core without starting at login.

brew services run v2ray-core

or run v2ray-core and register it to launch at login via:

brew services start v2ray-core