From 7f81713d4838a47b6694804bc86a11b21072401a Mon Sep 17 00:00:00 2001 From: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> Date: Wed, 13 Sep 2023 08:49:39 +0000 Subject: [PATCH] update README.md. mod readme Signed-off-by: luyoyu <8829470+chuangxxt@user.noreply.gitee.com> --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8289ac6..18015cf 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ 需要 go环境 出问题自行chatgpt ``` ```sh +git clone https://gitlab.com/luyoyu/share-copilot.git wget https://dl.google.com/go/go1.21.1.linux-amd64.tar.gz tar -C /usr/local -xzf go1.21.1.linux-amd64.tar.gz @@ -31,11 +32,11 @@ vim ~/.bashrc export PATH=$PATH:/usr/local/go/bin export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin - #使生效环境变量 source ~/.bashrc -#验证安装 +#验证go配置 go version + #cd到main.go源码目录 cd /share-copilot/source go build @@ -46,7 +47,8 @@ go build ### 1.安装 ```sh -git clone https://gitlab.com/luyoyu/share-copilot.git +wget https://gitee.com/chuangxxt/share-copilot/releases/download/1.0.2/share-copilot-linux-amd64.zip +unzip share-copilot-linux-amd64.zip ``` ```sh cd share-copilot