mirror of
https://gitee.com/chuangxxt/share-copilot
synced 2025-04-16 10:23:25 +00:00
Initial commit
This commit is contained in:
parent
adbecea0b9
commit
0fb6b85627
12
README.md
12
README.md
@ -8,18 +8,20 @@
|
||||
需要 go环境 出问题自行chatgpt
|
||||
|
||||
```sh
|
||||
https://dl.google.com/go/go1.21.1.linux-amd64.tar.gz
|
||||
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
|
||||
|
||||
vim ~/.bashrc
|
||||
//添加下列环境
|
||||
#添加下列环境
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
export GOPATH=$HOME/go
|
||||
export PATH=$PATH:$GOPATH/bin
|
||||
//使生效环境变量
|
||||
|
||||
#使生效环境变量
|
||||
source ~/.bashrc
|
||||
//验证安装
|
||||
#验证安装
|
||||
go version
|
||||
//cd到main.go源码目录
|
||||
#cd到main.go源码目录
|
||||
cd /share-copilot/source
|
||||
go build
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user