Update Artela.sh
This commit is contained in:
parent
9ba0c3ebb4
commit
051326f754
@ -75,6 +75,7 @@ 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