Update Nimble.sh

This commit is contained in:
smeb y 2024-03-31 15:03:38 +08:00 committed by GitHub
parent 5f25285d73
commit a354571764
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,8 +43,8 @@ rm -rf /usr/local/go
cd /usr/local cd /usr/local
wget https://go.dev/dl/go1.22.1.linux-amd64.tar.gz wget https://go.dev/dl/go1.22.1.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.22.1.linux-amd64.tar.gz tar -C /usr/local -xzf go1.22.1.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin echo "export PATH=\$PATH:/usr/local/go/bin" >> ~/.bashrc
source .bash_profile source ~/.bashrc
go version go version
# 克隆官方仓库 # 克隆官方仓库