Update 0g.sh

This commit is contained in:
smeb y 2024-04-20 00:25:23 +08:00 committed by GitHub
parent fa1e2e2b2d
commit c834444074
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

1
0g.sh
View File

@ -52,7 +52,6 @@ function install_node() {
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip liblz4-tool -y sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip liblz4-tool -y
# 安装Go # 安装Go
sudo rm -rf /usr/local/go
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile
source $HOME/.bash_profile source $HOME/.bash_profile