--下载
wget  https://dl.google.com/go/go1.19.linux-arm64.tar.gz

--解压
tar -C /usr/local -xzf go1.19.linux-arm64.tar.gz

---授权
chmod +x /usr/local/go/bin/go

---版本验证
/usr/local/go/bin/go version

---设置环境
vim /etc/profile

---尾部添加
export GOROOT=/usr/local/go
export PATH=$PATH:/usr/local/go/bin

---加载
source /etc/profile

goper
413 声望25 粉丝

go 后端开发