Update Artela.sh

This commit is contained in:
smeb y 2024-03-27 18:20:36 +08:00 committed by GitHub
parent 3bd3d87ab2
commit c926e6dc35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,8 +61,8 @@ sudo apt install -y curl iptables build-essential git wget jq make gcc nano tmux
# 安装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
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bashrc
source $HOME/.bashrc
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile
source $HOME/.bash_profile
# 安装所有二进制文件
cd $HOME