freeCodeCamp/guide/chinese/go/installing-go/windows-installer/index.md

1.2 KiB
Raw Blame History

title localeTitle
Installing Go in Windows using the MSI Installer 使用MSI安装程序在Windows中安装Go

使用MSI安装程序在Windows中安装Go

golang的下载页面 获取Windows MSI安装程序并运行它。您必须在64位和32位版本之间进行选择。如果您不知道Windows版本运行的架构只需快速搜索Google即可查找。

大多数当前版本的Windows都是64位因此您可以在特色下载部分获得64位版本但如果您的计算机已经很老了32位版本应该是最安全的选择。

64位Windodows安装程序

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

32位Windodows安装程序

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

检查go的安装和版本

要检查是否已成功安装,请打开命令提示符并使用:

> go version 

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