freeCodeCamp/guide/chinese/go/installing-go/mac-package-installer/index.md

694 B
Raw Blame History

title localeTitle
Installing Go in Mac OS X using Package Installer 使用Package Installer在Mac OS X中安装Go

使用Package Installer在Mac OS X中安装Go

golang的下载页面 获取Mac软件包安装程序以.pkg结尾并运行它。

screenshot of golang's download page as of this writting, highliting link

检查go的安装和版本

要检查是否已成功安装,请打开终端并使用:

$ go version 

这应该在控制台上打印go的版本同时确保安装顺利进行。