Dead simple v2ray client for MacOS (terminal)
Have v2ray
core binary installed in your system.
curl -sSL "https://raw.githubusercontent.com/ggicci/v2raym/main/v2raym" -o ~/.local/bin/v2raym \
&& chmod +x ~/.local/bin/v2raym
- V2RAY_BIN: path to the v2ray binary, default
"/opt/v2ray/v2ray"
- V2RAY_CONFIG: path to the v2ray config, default:
"${HOME}/.config/v2ray/config.json"
- V2RAY_HTTP_PROXY_PORT: port of the local HTTP/HTTPS/FTP proxy, default:
1086
- V2RAY_PROXY_PORT: port of the local SOCKS proxy, default:
1080
You can change these variables according to your system settings.
Usage: v2raym start | stop
Start v2ray
service and configure your system network proxy settings, including HTTP/HTTPS/FTP/SOCKS.
Stop v2ray
service and unset the proxy settings of your system network.