GO-0009

原文

Download and install

Download and install Go quickly with the steps described here.

For other content on installing, you might be interested in:

Download (1.25.5)

Go installation

Select the tab for your computer's operating system below, then follow its installation instructions.

Linux Mac Windowsimg

  1. Open the MSI file you downloaded and follow the prompts to install Go.

    By default, the installer will install Go to Program Files or Program Files (x86). You can change the location as needed. After installing, you will need to close and reopen any open command prompts so that changes to the environment made by the installer are reflected at the command prompt.

  2. Verify that you've installed Go.

    1. In Windows, click the Start menu.

    2. In the menu's search box, type cmd, then press the Enter key.

    3. In the Command Prompt window that appears, type the following command:

      $ go version
      
    4. Confirm that the command prints the installed version of Go.

You're all set¶

Visit the Getting Started tutorial to write some simple Go code. It takes about 10 minutes to complete.

1. 全文专业翻译(英译汉)

下载与安装

请依照下述步骤,快速下载并安装 Go。

如需了解其他安装相关内容,您可能对以下主题感兴趣:

  • 管理 Go 安装 —— 如何安装多个版本及卸载。
  • 从源码安装 Go —— 如何检出源代码、在本地机器上构建并运行。

下载(1.25.5)

Go 安装指南

请在下方选择适用于您计算机操作系统的标签页,然后按照对应的操作系统说明完成安装。

Linux  Mac  Windows

打开您已下载的 MSI 文件,并根据安装向导提示完成 Go 的安装。
默认情况下,安装程序会将 Go 安装至 Program Files 或 Program Files (x86) 目录。您可根据需要自定义安装路径。安装完成后,需关闭所有已打开的命令提示符窗口,并重新打开,以确保安装程序所修改的环境变量在命令行中生效。

验证 Go 是否已成功安装

  1. 在 Windows 系统中,点击“开始菜单”。

  2. 在菜单搜索框内输入 cmd,随后按下回车键。

  3. 在弹出的“命令提示符”窗口中,输入以下命令:

    $ go version
    
  4. 确认该命令输出了当前已安装的 Go 版本信息。

配置完成!

请访问《入门教程》,编写一些简单的 Go 代码。完成该教程约需 10 分钟。


2. 词汇表梳理

本次共收获单词:20 个

序号 单词 词性 音标 拼读 释义
1 Steps 名词(复数) /stɛps/ Steps 斯-特-普-斯 步骤。指完成某项任务所需遵循的有序操作序列。
2 Described 动词(过去分词) /dɪˈskraɪbd/ De·scribed 迪-斯-克-瑞-布-德 被描述的。表示内容已在文本或说明中详细说明。
3 Content 名词 /ˈkɑːntent/ Con·tent 康-特-恩-特 内容。指文档、网页或课程中包含的信息集合。
4 Uninstall 动词 /ˌʌnɪnˈstɔːl/ Un·in·stall 安-因-斯-托-欧 卸载。指从系统中移除已安装的软件或组件。
5 Check 动词 /tʃɛk/ Check 切-克 检出。在版本控制系统中,指从仓库获取特定分支或版本的代码副本。
6 Build 动词 /bɪld/ Build 比-尔-德 构建。指将源代码通过编译、链接等过程转化为可执行程序或库文件。
7 Run 动词 /rʌn/ Run 润 运行。指启动并执行一个程序、脚本或命令。
8 Operating 形容词(用于 operating system) /ˈɑːpəreɪtɪŋ/ Op·er·at·ing 奥-珀-雷-廷 操作的。指用于控制和管理计算机硬件与软件资源的系统软件特性。
9 MSI 专有名词(缩写) /ˌɛm es ˈaɪ/ M-S-I 艾-姆 艾-斯 艾 Microsoft Installer。微软开发的一种 Windows 平台标准安装包格式,支持事务性安装、回滚等功能。
10 Default 形容词 / 名词 /dɪˈfɔːlt/ De·fault 迪-佛-欧-特 默认的。指在未指定其他选项时系统自动采用的预设值或行为。
11 Location 名词 /loʊˈkeɪʃən/ Lo·ca·tion 楼-凯-申 位置。指文件、程序或服务在文件系统中的存储路径或网络地址。
12 Environment 名词 /ɪnˈvaɪrənmənt/ En·vi·ron·ment 因-瓦-伊-尔-恩-门-特 环境。指操作系统中影响程序运行的全局变量集合,如 PATH、GOPATH 等。
13 Reflected 动词(过去分词) /rɪˈflektɪd/ Re·flect·ed 瑞-弗-莱-克-提-德 反映。指系统或界面中显示或应用了先前所做的更改。
14 Verify 动词 /ˈverɪfaɪ/ Ver·i·fy 维-瑞-法-伊 验证。指通过测试或检查确认某项配置、安装或结果是否正确无误。
15 Search 动词 / 名词 /sɜːrtʃ/ Search 瑟-奇 搜索。指在数据库、文件系统或用户界面中查找特定内容或对象。
16 Prompt 名词 /prɑːmpt/ Prompt 普-拉-姆-普-特 提示符
17 Prints 动词(第三人称单数) /prɪnts/ Prints 普-林-特-斯 输出。在命令行或日志中显示文本或数值结果。
18 Version 名词 /ˈvɜːrʒən/ Ver·sion 沃-尔-申 版本。指软件的特定发布迭代,通常由数字标识,如 1.25.5。
19 Complete 动词 /kəmˈpliːt/ Com·plete 科-姆-普-利-特 完成。指结束某项任务、过程或阶段,达到预期目标。
20 Multiple 形容词 / 名词 /ˈmʌltɪpl/ Mul·ti·ple 马-特-普-欧 作形容词时,意为"多个的,多重的"。在 Go 和软件工程中,常用于描述涉及两个或以上实体(如模块、文件、依赖项、线程等)的场景。
posted @ 2026-01-13 07:25  红尘过客2022  阅读(59)  评论(0)    收藏  举报