Skip to content

Commit d7ba184

Browse files
committed
documentation: Update package managers
1 parent 7a6028f commit d7ba184

File tree

2 files changed

+44
-24
lines changed

2 files changed

+44
-24
lines changed

docs/installation/package-manager.md

+24-12
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ icon: material/package
2828

2929
=== ":material-linux: Linux"
3030

31-
| Type | Platform | Link | Command | Actively maintained |
32-
|----------|--------------------|---------------------|------------------------------|---------------------|
33-
| AUR | (Linux) Arch Linux | [sing-box][aur] ᴬᵁᴿ | `? -S sing-box` | :material-check: |
34-
| nixpkgs | (Linux) NixOS | [sing-box][nixpkgs] | `nix-env -iA nixos.sing-box` | :material-check: |
35-
| Homebrew | macOS / Linux | [sing-box][brew] | `brew install sing-box` | :material-check: |
36-
| Alpine | (Linux) Alpine | [sing-box][alpine] | `apk add sing-box` | :material-alert: |
31+
| Type | Platform | Link | Command | Actively maintained |
32+
|----------|---------------|-------------------------|------------------------------|---------------------|
33+
| APK | Alpine | [sing-box][alpine] | `apk add sing-box` | :material-check: |
34+
| AUR | Arch Linux | [sing-box][aur] ᴬᵁᴿ | `? -S sing-box` | :material-check: |
35+
| nixpkgs | NixOS | [sing-box][nixpkgs] | `nix-env -iA nixos.sing-box` | :material-check: |
36+
| Homebrew | macOS / Linux | [sing-box][brew] | `brew install sing-box` | :material-check: |
3737

3838
=== ":material-apple: macOS"
3939

40-
| Type | Platform | Link | Command | Actively maintained |
41-
|----------|---------------|------------------|-------------------------|---------------------|
42-
| Homebrew | macOS / Linux | [sing-box][brew] | `brew install sing-box` | :material-check: |
40+
| Type | Platform | Link | Command | Actively maintained |
41+
|----------|----------|------------------|-------------------------|---------------------|
42+
| Homebrew | macOS | [sing-box][brew] | `brew install sing-box` | :material-check: |
4343

4444
=== ":material-microsoft-windows: Windows"
4545

@@ -55,6 +55,12 @@ icon: material/package
5555
|------------|--------------------|---------------------|------------------------------|---------------------|
5656
| Termux | Android | [sing-box][termux] | `pkg add sing-box` | :material-check: |
5757

58+
=== ":material-freebsd: FreeBSD"
59+
60+
| Type | Platform | Link | Command | Actively maintained |
61+
|------------|----------|-------------------|------------------------|---------------------|
62+
| FreshPorts | FreeBSD | [sing-box][ports] | `pkg install sing-box` | :material-alert: |
63+
5864
## :material-book-multiple: Service Management
5965

6066
For Linux systems with [systemd][systemd], usually the installation already includes a sing-box service,
@@ -77,14 +83,20 @@ you can manage the service using the following command:
7783

7884
[nixpkgs]: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/networking/sing-box/default.nix
7985

80-
[termux]: https://github.com/termux/termux-packages/tree/master/packages/sing-box
81-
8286
[brew]: https://formulae.brew.sh/formula/sing-box
8387

88+
[openwrt]: https://github.com/openwrt/packages/tree/master/net/sing-box
89+
90+
[immortalwrt]: https://github.com/immortalwrt/packages/tree/master/net/sing-box
91+
8492
[choco]: https://chocolatey.org/packages/sing-box
8593

8694
[scoop]: https://github.com/ScoopInstaller/Main/blob/master/bucket/sing-box.json
8795

8896
[winget]: https://github.com/microsoft/winget-pkgs/tree/master/manifests/s/SagerNet/sing-box
8997

90-
[systemd]: https://systemd.io/
98+
[termux]: https://github.com/termux/termux-packages/tree/master/packages/sing-box
99+
100+
[ports]: https://www.freshports.org/net/sing-box
101+
102+
[systemd]: https://systemd.io/

docs/installation/package-manager.zh.md

+20-12
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ icon: material/package
2828

2929
=== ":material-linux: Linux"
3030

31-
| 类型 | 平台 | 链接 | 命令 | 活跃维护 |
32-
|----------|--------------------|---------------------|------------------------------|------------------|
33-
| AUR | (Linux) Arch Linux | [sing-box][aur] ᴬᵁᴿ | `? -S sing-box` | :material-check: |
34-
| nixpkgs | (Linux) NixOS | [sing-box][nixpkgs] | `nix-env -iA nixos.sing-box` | :material-check: |
35-
| Homebrew | macOS / Linux | [sing-box][brew] | `brew install sing-box` | :material-check: |
36-
| Alpine | (Linux) Alpine | [sing-box][alpine] | `apk add sing-box` | :material-alert: |
31+
| 类型 | 平台 | 链接 | 命令 | 活跃维护 |
32+
|----------|------------|---------------------|------------------------------|------------------|
33+
| Alpine | Alpine | [sing-box][alpine] | `apk add sing-box` | :material-check: |
34+
| AUR | Arch Linux | [sing-box][aur] ᴬᵁᴿ | `? -S sing-box` | :material-check: |
35+
| nixpkgs | NixOS | [sing-box][nixpkgs] | `nix-env -iA nixos.sing-box` | :material-check: |
36+
| Homebrew | Linux | [sing-box][brew] | `brew install sing-box` | :material-check: |
3737

3838
=== ":material-apple: macOS"
3939

40-
| 类型 | 平台 | 链接 | 命令 | 活跃维护 |
41-
|----------|---------------|------------------|-------------------------|------------------|
42-
| Homebrew | macOS / Linux | [sing-box][brew] | `brew install sing-box` | :material-check: |
40+
| 类型 | 平台 | 链接 | 命令 | 活跃维护 |
41+
|----------|-------|------------------|-------------------------|------------------|
42+
| Homebrew | macOS | [sing-box][brew] | `brew install sing-box` | :material-check: |
4343

4444
=== ":material-microsoft-windows: Windows"
4545

@@ -55,6 +55,12 @@ icon: material/package
5555
|--------|---------|--------------------|--------------------|------------------|
5656
| Termux | Android | [sing-box][termux] | `pkg add sing-box` | :material-check: |
5757

58+
=== ":material-freebsd: FreeBSD"
59+
60+
| 类型 | 平台 | 链接 | 命令 | 活跃维护 |
61+
|------------|---------|-------------------|------------------------|------------------|
62+
| FreshPorts | FreeBSD | [sing-box][ports] | `pkg install sing-box` | :material-alert: |
63+
5864
## :material-book-multiple: 服务管理
5965

6066
对于带有 [systemd][systemd] 的 Linux 系统,通常安装已经包含 sing-box 服务,
@@ -77,8 +83,6 @@ icon: material/package
7783

7884
[nixpkgs]: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/networking/sing-box/default.nix
7985

80-
[termux]: https://github.com/termux/termux-packages/tree/master/packages/sing-box
81-
8286
[brew]: https://formulae.brew.sh/formula/sing-box
8387

8488
[choco]: https://chocolatey.org/packages/sing-box
@@ -87,4 +91,8 @@ icon: material/package
8791

8892
[winget]: https://github.com/microsoft/winget-pkgs/tree/master/manifests/s/SagerNet/sing-box
8993

90-
[systemd]: https://systemd.io/
94+
[termux]: https://github.com/termux/termux-packages/tree/master/packages/sing-box
95+
96+
[ports]: https://www.freshports.org/net/sing-box
97+
98+
[systemd]: https://systemd.io/

0 commit comments

Comments
 (0)