项目作者: v2ray

项目描述 :
The homebrew tap for v2ray-core.
高级语言: Ruby
项目地址: git://github.com/v2ray/homebrew-v2ray.git
创建时间: 2017-10-19T13:32:20Z
项目社区:https://github.com/v2ray/homebrew-v2ray

开源协议:MIT License

下载


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

  1. brew tap v2ray/v2ray

step 2: Install v2ray-core:

  1. brew install v2ray-core

Update v2ray-core

step 1: update tap

  1. brew update

step 2: update v2ray-core

  1. brew upgrade v2ray-core

Uninstall v2ray-core

step 1: uninstall core

  1. brew uninstall v2ray-core

step 2: untap official formula

  1. 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:

  1. vim /usr/local/etc/v2ray/config.json

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

  1. brew services run v2ray-core

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

  1. brew services start v2ray-core