mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
Update README.md
Signed-off-by: MINGERTAI <104557080+MINGERTAI@users.noreply.github.com>
This commit is contained in:
parent
d828c61615
commit
d90f72a99b
11
README.md
11
README.md
@ -24,16 +24,21 @@ https://github.com/SagerNet/SagerNet
|
|||||||
### 安装
|
### 安装
|
||||||
|
|
||||||
sing-box 需要 Golang 1.18.5 或更高版本
|
sing-box 需要 Golang 1.18.5 或更高版本
|
||||||
### 安装 Golang
|
#### 安装 Golang
|
||||||
```jaon
|
```
|
||||||
cd
|
cd
|
||||||
curl -fsL https://raw.githubusercontent.com/jetsung/golang-install/main/install.sh | bash
|
curl -fsL https://raw.githubusercontent.com/jetsung/golang-install/main/install.sh | bash
|
||||||
source /root/.bashrc
|
source /root/.bashrc
|
||||||
```
|
```
|
||||||
### 安装最新的 sing-box 版本
|
#### 安装最新的 sing-box 版本
|
||||||
```
|
```
|
||||||
go install -v github.com/sagernet/sing-box/cmd/sing-box@latest
|
go install -v github.com/sagernet/sing-box/cmd/sing-box@latest
|
||||||
````
|
````
|
||||||
|
#### 自定义安装,具体方法看官方文档 https://sing-box.sagernet.org
|
||||||
|
```
|
||||||
|
例:
|
||||||
|
go install -v -tags "with_acme with_clash_api with_quic with_grpc with_wireguard with_ech with_utls with_gvisor with_shadowsocksr" github.com/sagernet/sing-box/cmd/sing-box@dev-next
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user