Please go to https://github.com/v2rayA/homebrew-v2raya/ , this repo won't update anymore.
A Homebrew repository for v2rayA, supports Linux x64 and macOS x64, macOS Apple Silicon.
Tap this repository
brew tap MarksonHon/v2raya
Install v2rayA
brew install marksonHon/v2raya/v2raya
Package v2ray
will be installed as a dependency package.
Run on Terminal
v2raya --lite
Run as a brew service
brew services start v2raya