# Go 安装

# Download Go

打开官网

https://golang.org
1

下载系统对应版本

# 设置环境变量

编辑 ~/.bashprofile 添加环境变量

vim ~/.bashprofile
export GOPATH=$HOME/go
export GOROOT=/usr/local/go
source ~/.bashprofile
1
2
3
4
最后更新:: 3/12/2024, 3:17:51 PM