Mac下安装SDK SDK(software Development Kit,软件开发工具包) 去官网(需要科学上网) https://golang.google.cn/dl/ 下载结束后,在终端输入: $ go version 显示出版本信息就成功了