1.2 KiB
1.2 KiB
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安装程序
32位Windodows安装程序
检查go的安装和版本
要检查是否已成功安装,请打开命令提示符并使用:
> go version
这应该在控制台上打印go的版本,同时确保安装顺利进行。