Automic VaultAutomic Vault

brew

xray を Homebrew, apk, MacPorts, Nix, scoop, winget でインストール

xray のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install xray

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install xray

MacPorts ports tree · net/xray/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add xray

Alpine Linux edge package indexes · xray · ソース: dl-cdn.alpinelinux.org

Nix確認済み · 92%
nix profile install nixpkgs#xray

nixpkgs package indexes · pkgs/by-name/xr/xray/package.nix · ソース: api.github.com

Windows

Scoop確認済み · 92%
scoop install main/xray

Scoop official bucket manifest trees · bucket/xray.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id XTLS.Xray-core -e

Windows Package Manager source index · XTLS.Xray-core · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Platform for building proxies to bypass network restrictions

履歴

プロジェクトの歴史と使われ方

Xray-core is the Go networking core of Project X, a proxy and anti-censorship toolkit descended from v2ray-core and centered on XTLS, VLESS, REALITY, routing, DNS, and composable transports.

プロジェクトの歴史

The Xray-core README says Project X originates from the XTLS protocol and provides tools such as Xray-core and REALITY. It also explicitly credits Xray-core v1.0.0 as a fork of v2fly-core commit 9a03cc5, after which the project accumulated many independent enhancements.

The v1.0.0 release in November 2020 framed the fork as a new beginning. Its notes said Xray-core was heavily modified from v2ray-core, merged ctl functionality into one executable, kept similar configuration ideas, changed environment/API naming to XRAY, exposed raw protocol ReadV across platforms, and provided VLESS and Trojan XTLS support.

The official documentation now cautions that Xray-core has evolved independently for a long time and should not be treated as a fully compatible v2ray-core drop-in replacement. It highlights complete support for VLESS, XTLS Vision, REALITY, multiple XTLS flow-control modes, and performance work such as Splice in suitable scenarios.

採用の歴史

Xray's adoption is broad inside the censorship-circumvention and proxy-client ecosystem. The README lists official installation routes, Docker images, web panels, one-click installers, Magisk packages, Homebrew, many GUI clients across OpenWrt, Windows, Android, iOS, macOS, Linux, and HarmonyOS, plus wrappers and downstream cores.

Its ecosystem grew around protocols and deployment recipes rather than a single UI. The Xray-examples repository, REALITY examples, VLESS-XTLS-Vision examples, install scripts, and GUI clients show that users usually consume Xray-core as an engine under profiles, panels, routers, mobile apps, or server setup scripts.

使われ方

Practical usage is configuration-driven. Operators define inbound and outbound protocols, routing and DNS rules, transport settings, fallbacks, TLS or REALITY behavior, and platform-specific service wrappers; the xray executable then runs the core proxy service.

Common package-manager users install xray when they want the core binary on macOS, Linux, routers, servers, or CI-built images. More casual users often encounter it indirectly through clients such as v2rayN, v2rayNG, OpenWrt passwall packages, or web panels that generate configuration.

パッケージ好きにとっての重要性

Xray is significant because it is both a single package and a protocol ecosystem. The Homebrew formula points at one executable, but the surrounding package graph includes install scripts, Docker images, GUI wrappers, router packages, mobile clients, panels, example repositories, and protocol documentation.

It is also a modern example of infrastructure software whose history matters for compatibility. Knowing that Xray branched from v2ray-core but evolved independently explains why configs may look familiar while APIs, environment variables, protocols, and operational assumptions differ.

タイムライン

  • 2020-11-25: Xray-core v1.0.0 was published as a fork-derived new beginning from v2fly-core.
  • 2023-03-09: Xray-core v1.8.0 release notes introduced REALITY material and XTLS Vision security changes.
  • 2025-2026: The project moved to date-like release numbering such as v25.x and v26.x in GitHub releases.
  • 2026-06-27: GitHub lists Xray-core v26.6.27 among current releases.

Related projects

  • v2ray-core and v2fly-core: the upstream lineage from which Xray-core branched.
  • XTLS, VLESS, XTLS Vision, REALITY, XUDP, and XHTTP: protocol and transport work central to Project X.
  • XTLS/Xray-examples and XTLS/REALITY: official example and protocol repositories used by operators.
  • v2rayN, v2rayNG, PassWall, Marzban, Hiddify, and related clients or panels: common downstream ways people operate Xray-core.

セキュリティ状態

リスクレベル: orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service

信号

  • metadata:service
  • text:network

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • formula メタデータがサービスまたはデーモンブロックを宣言しています。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
xraycliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版26.3.27
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v26.3.27

https://github.com/XTLS/Xray-core

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:xray
バージョン26.3.27
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/xray
ホームページhttps://xtls.github.io/
リポジトリhttps://github.com/XTLS/Xray-core
上流ドキュメントhttps://xtls.github.io/en
ライセンスMPL-2.0 AND CC-BY-SA-4.0
ソースアーカイブhttps://github.com/XTLS/Xray-core/archive/refs/tags/v26.3.27.tar.gz
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービスdeclared
注意点An example config is installed to $HOMEBREW_PREFIX/etc/xray/config.json

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

xray

nix profile install nixpkgs#xray
  • normalized package name match
  • 一致条件: Xray
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xr/xray/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

xray 26.3.27-r0

Platform for building proxies to bypass network restrictions

https://github.com/XTLS/Xray-core

sudo apk add xray
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: xray
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Xray
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xray from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
MacPorts95%

xray

sudo port install xray
  • normalized package name match
  • 一致条件: Xray
MacPorts ports tree · api.github.com · MacPorts ports tree: net/xray/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/xray

scoop install main/xray
  • normalized package name match
  • 一致条件: Xray
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/xray.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

XTLS.Xray-core

winget install --id XTLS.Xray-core -e
  • normalized package name match
  • 一致条件: Xray
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: XTLS.Xray-core from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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