mirror of
https://gitee.com/chuangxxt/share-copilot
synced 2025-04-16 05:03:25 +00:00
update README.md.
mod readme Signed-off-by: luyoyu <8829470+chuangxxt@user.noreply.gitee.com>
This commit is contained in:
parent
89e3e6a264
commit
7f81713d48
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user