From 496c016a24e8788dc4aca78797b5f8fec3c1624d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Fri, 11 Aug 2023 21:11:11 +0800 Subject: [PATCH] Update documentation --- docs/installation/from-source.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/installation/from-source.md b/docs/installation/from-source.md index 5ab46bbb..da0ffc02 100644 --- a/docs/installation/from-source.md +++ b/docs/installation/from-source.md @@ -1,6 +1,17 @@ # Install from source -sing-box requires Golang **1.18.5** or a higher version. +## Requirements + +Before sing-box 1.4.0: + +* Go 1.18.5 - 1.20.x + +Since sing-box 1.4.0: + +* Go 1.18.5 - ~ +* Go 1.20.0 - ~ if `with_quic` tag enabled + +## Installation ```bash go install -v github.com/sagernet/sing-box/cmd/sing-box@latest @@ -9,7 +20,7 @@ go install -v github.com/sagernet/sing-box/cmd/sing-box@latest Install with options: ```bash -go install -v -tags with_clash_api github.com/sagernet/sing-box/cmd/sing-box@latest +go install -v -tags with_quic,with_wireguard github.com/sagernet/sing-box/cmd/sing-box@latest ``` | Build Tag | Description |