diff --git a/README.md b/README.md index e0cfc8e..97f1d25 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ C/S 采用 gRPC 通信,客户端通过添加主机生成的单独 Token 上报 ```shell curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh -sudo nezha.sh +sudo ./nezha.sh ``` ## FAQ diff --git a/script/install.sh b/script/install.sh index 7d98217..458ffa9 100755 --- a/script/install.sh +++ b/script/install.sh @@ -16,6 +16,7 @@ red='\033[0;31m' green='\033[0;32m' yellow='\033[0;33m' plain='\033[0m' +export PATH=$PATH:/usr/local/bin os_version="" os_arch=""