Automic VaultAutomic Vault

brew

Install v2ray with Homebrew, apk, chocolatey, apt, MacPorts, Nix, pacman, scoop, winget, zypper

Platform for building proxies to bypass network restrictions. Version 5.51.2 via Homebrew; verified 2026-07-07.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install v2ray

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install v2ray

MacPorts ports tree · net/v2ray/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add v2ray

Alpine Linux edge package indexes · v2ray · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install v2ray

Debian stable package indexes · v2ray · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#v2ray

nixpkgs package indexes · pkgs/by-name/v2/v2ray/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S v2ray

Arch Linux sync databases · v2ray · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install v2ray-core

openSUSE Tumbleweed package metadata · v2ray-core · source: download.opensuse.org

Windows

Chocolateyverified · 92%
choco install v2ray

Chocolatey community package catalog · v2ray · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/v2ray

Scoop official bucket manifest trees · bucket/v2ray.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id v2fly.v2ray-core -e

Windows Package Manager source index · v2fly.v2ray-core · source: cdn.winget.microsoft.com

overview

Package summary

Platform for building proxies to bypass network restrictions

Commands and aliases

  • v2ray

history

Project history and usage

V2Ray is the core tool of Project V, a proxy and network-routing platform maintained by the V2Fly community. Official V2Fly documentation presents it as a multi-protocol, cross-platform system for building dedicated communication networks with configurable inbound protocols, outbound protocols, routing, transports, and obfuscation.

Project history

Project V documentation describes V2Ray as the core of a broader tool collection: V2Ray handles network protocols and communication, while other tools and user interfaces can build on top of it. The newer V2Fly site describes the project as community-led and points the official core source to `v2fly/v2ray-core`.

The official plain-language guide places V2Ray in the same historical neighborhood as Shadowsocks, but distinguishes it as a platform rather than a single proxy protocol. It says V2Ray was developed after pressure against the Shadowsocks creator and that Project V developed it as a protest; this is community documentation rather than a conventional corporate origin story.

The developer documentation shows the modern project as a Go codebase built and released through GitHub automation, with release artifacts archived for long-term availability and stable releases signed with the V2Fly signing key.

Adoption history

V2Ray's adoption was driven by users who needed configurable proxying and routing across censorship-prone or restricted networks. The official guide assumes users are comfortable with Linux shells, VPS access, SSH, and editing configuration files, which reflects the self-hosted, operations-heavy adoption path.

Package-manager adoption broadened the install story. The supplied package facts list Homebrew, Chocolatey, Debian, Ubuntu, Arch, Nix, MacPorts, Scoop, WinGet, zypper, and apk names, matching the official project's cross-platform positioning.

How it is used

V2Ray is configured primarily through JSON. The official FAQ shows troubleshooting with systemd logs and `v2ray -config=<config-file> -test`; protocol docs describe user IDs, transports, and protocol-specific authentication; and the home page highlights multi-entry/multi-exit routing, multi-protocol support, stealth, security, load balancing, and cross-platform operation.

In package-nerd terms, V2Ray is often installed as a daemon-capable CLI plus configuration tree. The interesting parts are not a simple `v2ray` executable alone, but the package's config-file locations, service integration, signed release artifacts, and compatibility with multiple inbound and outbound proxy protocols.

Why package nerds care

V2Ray is significant because it packages a modular proxy platform into ordinary OS package-manager channels. It is a network tool whose real behavior is determined by structured config, protocol modules, transport choices, routing rules, and service-manager setup.

It also sits in a sensitive niche: anti-censorship and privacy-network tooling. For maintainers, that makes official-source provenance, signed releases, config-path clarity, and avoiding random mirrors especially important.

Timeline

  • 2015-present: V2Fly site footer identifies Project V/V2Fly community material across this period.
  • 2020: The V2Fly-maintained plain-language guide documents V2Ray's relationship to Project V and Shadowsocks-era history.
  • 2020s: Developer docs describe the Go codebase, GitHub-based release automation, release archiving, and stable release signing.

Related projects

  • Project V is the broader tool collection around V2Ray.
  • Shadowsocks is the related single-protocol proxy tool used as a comparison point in official V2Fly guide material.
  • VMess and VLESS are V2Ray-related protocols; VMess is documented as V2Ray's original encrypted communication protocol.

Sources

security posture

Risk level: orange

formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • formula declares a Homebrew service

Signals

  • metadata:service

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Linux
/etc/v2ray/config.json/usr/local/etc/v2ray/config.json/opt/v2ray/etc/config.json
macOS
config.json in the same directory as V2Ray
Windows
config.json in the same directory as V2Ray

executables

Installed executables

CommandKindExposureNote
v2raycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version5.51.2
manager updated2026-07-07
local dataok
upstreamcurrent
latest detectedv5.51.2

https://github.com/v2fly/v2ray-core

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:v2ray
Version5.51.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/v2ray
Homepagehttps://v2fly.org/
Repositoryhttps://github.com/v2fly/v2ray-core
Upstream docshttps://v2fly.org/
LicenseMIT AND CC-BY-SA-4.0
Source archivehttps://github.com/v2fly/v2ray-core/archive/refs/tags/v5.51.2.tar.gz
Last updated2026-07-07T05:11:47Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namev2ray
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

v2ray 4.34.0+ds-4+b12

Command line tool for golang-v2ray-core

https://github.com/v2fly/v2ray-core

sudo apt install v2ray
  • Section: devel
  • Architecture: amd64
  • Source Package: golang-v2ray-core
  • 1 dependencies
  • normalized package name match
  • Matched by: V2ray
Debian stable package indexes · deb.debian.org · Debian stable package indexes: v2ray from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

v2ray

nix profile install nixpkgs#v2ray
  • normalized package name match
  • Matched by: V2ray
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/v2/v2ray/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

v2ray 4.34.0+ds-4

Command line tool for golang-v2ray-core

https://github.com/v2fly/v2ray-core

sudo apt install v2ray
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: golang-v2ray-core
  • 1 dependencies
  • normalized package name match
  • Matched by: V2ray
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: v2ray from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

v2ray 5.47.0-r2

A platform for building proxies to bypass network restrictions

https://v2fly.org

sudo apk add v2ray
  • License: MIT
  • Architecture: x86_64
  • Source Package: v2ray
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: V2ray
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: v2ray from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

v2ray-openrc 5.47.0-r2

A platform for building proxies to bypass network restrictions (OpenRC init scripts)

https://v2fly.org

sudo apk add v2ray-openrc
  • License: MIT
  • Architecture: x86_64
  • Source Package: v2ray
  • normalized package name match
  • Matched by: V2ray
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: v2ray-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

v2ray 5.49.0-1

A platform for building proxies to bypass network restrictions

https://github.com/v2fly/v2ray-core

sudo pacman -S v2ray
  • License: MIT
  • Architecture: x86_64
  • 3 dependencies
  • normalized package name match
  • Matched by: V2ray
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: v2ray from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

v2ray-core 5.51.2-1.1

Network tools for building a computer network

https://github.com/v2fly/v2ray-core

sudo zypper install v2ray-core
  • License: MIT
  • Category: Productivity/Networking/Web/Proxy
  • Architecture: x86_64
  • Source Package: v2ray-core
  • 1 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: V2ray
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: v2ray-core from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

v2ray

sudo port install v2ray
  • normalized package name match
  • Matched by: V2ray
MacPorts ports tree · api.github.com · MacPorts ports tree: net/v2ray/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

v2ray

choco install v2ray
  • normalized package name match
  • Matched by: V2ray
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: v2ray from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','upx'
Scoop95%

main/v2ray

scoop install main/v2ray
  • normalized package name match
  • Matched by: V2ray
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/v2ray.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

v2fly.v2ray-core

winget install --id v2fly.v2ray-core -e
  • normalized package name match
  • Matched by: V2ray
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: v2fly.v2ray-core from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment