Update Artela.sh

This commit is contained in:
smeb y 2024-04-20 00:24:46 +08:00 committed by GitHub
parent c7e833d86a
commit 9ba0c3ebb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,7 +75,6 @@ function install_node() {
sudo apt install -y curl iptables build-essential git wget jq make gcc nano tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev lz4 snapd
# 安装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/.bash_profile
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin