Update Nimble.sh

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

View File

@ -43,7 +43,7 @@ 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
echo "export PATH=\$PATH:/usr/local/go/bin" >> ~/.bashrc echo "export PATH=\$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bashrc
source ~/.bashrc source ~/.bashrc
go version go version