Fix install documentation

This commit is contained in:
世界 2022-08-31 23:37:30 +08:00
parent a44cb745d9
commit f1f61b4e2b
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 4 additions and 4 deletions

View file

@ -13,13 +13,13 @@ The universal proxy platform.
sing-box requires Golang **1.18.5** or a higher version. sing-box requires Golang **1.18.5** or a higher version.
```bash ```bash
go install -v github.com/sagernet/sing-box/cmd/sing-box@latest go install -v github.com/sagernet/sing-box/cmd/sing-box@v1.0-beta2
``` ```
Install with options: Install with options:
```bash ```bash
go install -v -tags with_clash_api github.com/sagernet/sing-box/cmd/sing-box@latest go install -v -tags with_clash_api github.com/sagernet/sing-box/cmd/sing-box@v1.0-beta2
``` ```
| Build Tag | Description | | Build Tag | Description |

View file

@ -13,13 +13,13 @@ description: 欢迎来到该 sing-box 项目的文档页。
sing-box 需要 Golang **1.18.5** 或更高版本。 sing-box 需要 Golang **1.18.5** 或更高版本。
```bash ```bash
go install -v github.com/sagernet/sing-box/cmd/sing-box@latest go install -v github.com/sagernet/sing-box/cmd/sing-box@v1.0-beta2
``` ```
自定义安装: 自定义安装:
```bash ```bash
go install -v -tags with_clash_api github.com/sagernet/sing-box/cmd/sing-box@latest go install -v -tags with_clash_api github.com/sagernet/sing-box/cmd/sing-box@v1.0-beta2
``` ```
| 构建标志 | 描述 | | 构建标志 | 描述 |