English | 简体中文
Scoop bucket of v2rayA for Windows users.
Install Scoop
-
Install Git for Windows. CN users can download from here.
-
Install PowerShell Core. CN users can download from here.
-
(OPTIONAL) Install Windows Terminal.
-
Install Scoop.
> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time > irm get.scoop.sh | iex
> scoop bucket add v2raya https://github.com/v2rayA/v2raya-scoop # Add bucket
> scoop update # Update bucket
> scoop install v2raya-np # stable version (recommended)
> #scoop install v2raya-unstable-np # unstable version
> scoop install v2raya
> scoop install v2ray-rules-dat # install V2Ray rules dat(optional)
After installing v2rayA through the installer, v2rayA will run as a service. By default, it will start automatically. You can also manage the start and stop of v2rayA in the "Services" tab in the task manager. You can open the admin page by running the desktop shortcut or by visiting http://127.0.0.1:2017 directly.
You can use Win + R
to open a Runs window, and run reset-passwd-v2raya-np
command in it.
v2raya
command has been shimed by Scoop to run v2rayA with--lite
arg,v2rayawin
command is the origin v2rayA.- Env
V2RAYA_V2RAY_BIN
will be set to$(scoop prefix v2ray)\\v2ray.exe
.
You can use Win + R
to open a Runs window, and run v2raya
command in it.
- Run
v2raya
orv2rayaWin --lite
to start v2rayA. - Run
start-v2raya
to start v2rayA in the background. - Run
stop-v2raya
to stop v2rayA.
- Run
reset-passwd-v2raya
to reset the password of v2rayA.
> reg import "$(scoop prefix v2raya)\add-startup.reg"
# remove
> reg import "$(scoop prefix v2raya)\remove-startup.reg"
> scoop install v2raya/xray
# use v2raya core
> scoop reset v2raya
# use xray core
> scoop reset xray