Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/v2ray/homebrew-v2ray
The homebrew tap for v2ray-core.
https://github.com/v2ray/homebrew-v2ray
homebrew v2ray
Last synced: 18 days ago
JSON representation
The homebrew tap for v2ray-core.
- Host: GitHub
- URL: https://github.com/v2ray/homebrew-v2ray
- Owner: v2ray
- License: mit
- Created: 2017-10-19T13:32:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-27T21:19:21.000Z (over 3 years ago)
- Last Synced: 2024-11-14T12:03:38.967Z (28 days ago)
- Topics: homebrew, v2ray
- Language: Ruby
- Size: 103 KB
- Stars: 447
- Watchers: 24
- Forks: 90
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **214**星 - core. (<a id="d03d494700077f6a65092985c06bf8e8"></a>工具 / <a id="dbc310300d300ae45b04779281fe6ec8"></a>V2Ray)
README
### homebrew v2ray [![Build Status](https://travis-ci.org/v2ray/homebrew-v2ray.svg?branch=master)](https://travis-ci.org/v2ray/homebrew-v2ray)
The homebrew tap for v2ray-core.
> **NOTE:** v2ray-core has entered [homebrew-core](https://github.com/Homebrew/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
```bash
brew tap v2ray/v2ray
```step 2: Install v2ray-core:
```bash
brew install v2ray-core
```### Update v2ray-core
step 1: update tap
```bash
brew update
```step 2: update v2ray-core
```bash
brew upgrade v2ray-core
```------
### Uninstall v2ray-core
step 1: uninstall core
```bash
brew uninstall v2ray-core
```step 2: untap official formula
```bash
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:
```bash
vim /usr/local/etc/v2ray/config.json
```step 2: run v2ray-core without starting at login.
```bash
brew services run v2ray-core
```or run v2ray-core and register it to launch at login via:
```bash
brew services start v2ray-core
```