Update Artela.sh
This commit is contained in:
parent
c7e833d86a
commit
9ba0c3ebb4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user