diff --git a/docs/installation/build-from-source.md b/docs/installation/build-from-source.md index 3ee5b6c5..e7c92ef4 100644 --- a/docs/installation/build-from-source.md +++ b/docs/installation/build-from-source.md @@ -6,26 +6,18 @@ icon: material/file-code ## :material-graph: Requirements -Before sing-box 1.4.0: +### sing-box 1.10 -* Go 1.18.5 - 1.20.x - -Since sing-box 1.4.0: - -* Go 1.18.5 - ~ -* Go 1.20.0 - ~ with tag `with_quic` enabled - -Since sing-box 1.5.0: - -* Go 1.18.5 - ~ -* Go 1.20.0 - ~ with tag `with_quic` or `with_ech` enabled - -Since sing-box 1.8.0: - -* Go 1.18.5 - ~ +* Go 1.20.0 - ~ * Go 1.20.0 - ~ with tag `with_quic`, or `with_utls` enabled * Go 1.21.0 - ~ with tag `with_ech` enabled +### sing-box 1.9 + +* Go 1.18.5 - 1.22.x +* Go 1.20.0 - 1.22.x with tag `with_quic`, or `with_utls` enabled +* Go 1.21.0 - 1.22.x with tag `with_ech` enabled + You can download and install Go from: https://go.dev/doc/install, latest version is recommended. ## :material-fast-forward: Simple Build diff --git a/docs/installation/build-from-source.zh.md b/docs/installation/build-from-source.zh.md index e5da3e33..f0bcc49b 100644 --- a/docs/installation/build-from-source.zh.md +++ b/docs/installation/build-from-source.zh.md @@ -6,25 +6,17 @@ icon: material/file-code ## :material-graph: 要求 -sing-box 1.4.0 前: +### sing-box 1.10 -* Go 1.18.5 - 1.20.x +* Go 1.20.0 - ~ +* Go 1.20.0 - ~ with tag `with_quic`, or `with_utls` enabled +* Go 1.21.0 - ~ with tag `with_ech` enabled -从 sing-box 1.4.0: +### sing-box 1.9 -* Go 1.18.5 - ~ -* Go 1.20.0 - ~ 如果启用构建标记 `with_quic` - -从 sing-box 1.5.0: - -* Go 1.18.5 - ~ -* Go 1.20.0 - ~ 如果启用构建标记 `with_quic` 或 `with_ech` - -从 sing-box 1.8.0: - -* Go 1.18.5 - ~ -* Go 1.20.0 - ~ 如果启用构建标记 `with_quic` 或 `with_utls` -* Go 1.20.1 - ~ 如果启用构建标记 `with_ech` +* Go 1.18.5 - 1.22.x +* Go 1.20.0 - 1.22.x with tag `with_quic`, or `with_utls` enabled +* Go 1.21.0 - 1.22.x with tag `with_ech` enabled 您可以从 https://go.dev/doc/install 下载并安装 Go,推荐使用最新版本。