# 使用 Homebrew, apk, MacPorts, Nix, scoop, winget, zypper 安装 sing-box

查看 sing-box 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:sing-box
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sing-box
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sing-box
```

  证据: MacPorts ports tree: net/sing-box/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add sing-box
```

  证据: Alpine Linux edge package indexes: sing-box from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#sing-box
```

  证据: nixpkgs package indexes: pkgs/by-name/si/sing-box/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install nekobox-core
```

  证据: openSUSE Tumbleweed package metadata: nekobox-core from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/sing-box
```

  证据: Scoop official bucket manifest trees: bucket/sing-box.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id SagerNet.sing-box -e
```

  证据: Windows Package Manager source index: SagerNet.sing-box from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:sing-box
- **软件包管理器:** Homebrew
- **版本:** 1.13.16
- **来源摘要:** Universal proxy platform
- **主页:** <https://sing-box.sagernet.org>
- **仓库:** <https://github.com/SagerNet/sing-box>
- **最后更新:** 2026-08-03T15:42:18Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- sing-box (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.13.16

## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## 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

- Unix: config.json
## 其他软件包管理器记录

- Nix - sing-box: normalized package name match | nixpkgs package indexes: pkgs/by-name/si/sing-box/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - sing-box - 1.13.14-r1: normalized package name match | Alpine Linux edge package indexes: sing-box from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The universal proxy platform | https://sing-box.sagernet.org/
- apk - sing-box-bash-completion - 1.13.14-r1: normalized package name match | Alpine Linux edge package indexes: sing-box-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for sing-box | https://sing-box.sagernet.org/
- apk - sing-box-fish-completion - 1.13.14-r1: normalized package name match | Alpine Linux edge package indexes: sing-box-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for sing-box | https://sing-box.sagernet.org/
- apk - sing-box-openrc - 1.13.14-r1: normalized package name match | Alpine Linux edge package indexes: sing-box-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The universal proxy platform (OpenRC init scripts) | https://sing-box.sagernet.org/
- apk - sing-box-systemd - 1.13.14-r1: normalized package name match | Alpine Linux edge package indexes: sing-box-systemd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The universal proxy platform (systemd files) | https://sing-box.sagernet.org/
- apk - sing-box-zsh-completion - 1.13.14-r1: normalized package name match | Alpine Linux edge package indexes: sing-box-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for sing-box | https://sing-box.sagernet.org/
- zypper - nekobox-core - 5.11.28.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: nekobox-core from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | NekoBox core (sing-box with enchancements) | https://github.com/qr243vbi/nekobox
- MacPorts - sing-box: normalized package name match | MacPorts ports tree: net/sing-box/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/sing-box: normalized package name match | Scoop official bucket manifest trees: bucket/sing-box.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - SagerNet.sing-box: normalized package name match | Windows Package Manager source index: SagerNet.sing-box from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/sing-box.yml](https://github.com/mxcl/pkgdb/blob/main/combined/sing-box.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
