diff --git a/README.md b/README.md index ad9f26f..1a0cf28 100644 --- a/README.md +++ b/README.md @@ -44,11 +44,11 @@ Google讨论组:[https://groups.google.com/d/forum/go-gost](https://groups.goo ```bash # 安装最新版本 https://github.com/go-gost/gost/releases](https://github.com/go-gost/gost/releases -sudo bash <(curl -fsSL https://github.com/samsesh/gost/raw/master/install.sh) --install +bash <(curl -fsSL https://github.com/samsesh/gost/raw/master/install.sh) --install ``` ```bash # 选择要安装的版本 -sudo bash <(curl -fsSL https://github.com/samsesh/gost/raw/master/install.sh) +bash <(curl -fsSL https://github.com/samsesh/gost/raw/master/install.sh) ``` diff --git a/README_en.md b/README_en.md index aae506b..75fdeb2 100644 --- a/README_en.md +++ b/README_en.md @@ -41,11 +41,11 @@ Legacy version: [v2.gost.run](https://v2.gost.run/en/) ```bash # install latest from https://github.com/go-gost/gost/releases](https://github.com/go-gost/gost/releases -sudo bash <(curl -fsSL https://github.com/samsesh/gost/raw/master/install.sh) --install +bash <(curl -fsSL https://github.com/samsesh/gost/raw/master/install.sh) --install ``` ```bash # select version for install -sudo bash <(curl -fsSL https://github.com/samsesh/gost/raw/master/install.sh) +bash <(curl -fsSL https://github.com/samsesh/gost/raw/master/install.sh) ``` ### From source diff --git a/install.sh b/install.sh index 1bace4f..524acea 100755 --- a/install.sh +++ b/install.sh @@ -73,7 +73,7 @@ install_gost() { echo "Installing gost..." tar -xzf gost.tar.gz chmod +x gost - sudo mv gost /usr/local/bin/gost + mv gost /usr/local/bin/gost echo "gost installation completed!" }