Day-00009
原文
Download and install
Download and install Go quickly with the steps described here.
For other content on installing, you might be interested in:
- Managing Go installations -- How to install multiple versions and uninstall.
- Installing Go from source -- How to check out the sources, build them on your own machine, and run them.
Go installation¶
Select the tab for your computer's operating system below, then follow its installation instructions.
Linux Mac Windows
-
Open the MSI file you downloaded and follow the prompts to install Go.
By default, the installer will install Go to
Program FilesorProgram 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. -
Verify that you've installed Go.
-
In Windows, click the Start menu.
-
In the menu's search box, type
cmd, then press the Enter key. -
In the Command Prompt window that appears, type the following command:
$ go version -
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 是否已成功安装
-
在 Windows 系统中,点击“开始菜单”。
-
在菜单搜索框内输入
cmd,随后按下回车键。 -
在弹出的“命令提示符”窗口中,输入以下命令:
$ go version -
确认该命令输出了当前已安装的 Go 版本信息。
配置完成!
请访问《入门教程》,编写一些简单的 Go 代码。完成该教程约需 10 分钟。
2. 词汇表梳理(共收获 19 个单词)
- Steps
词性:名词(复数)
音标:/stɛps/(“斯-特-普-斯”)
音节划分:Steps
释义:步骤。指完成某项任务所需遵循的有序操作序列。
扩展信息:单数 step;动词 step;名词 stepping。近义词:procedures, instructions。
注意事项:教程类文档核心术语,常与 “follow the steps” 搭配。
例句:Follow these steps to resolve the configuration issue.
中文翻译:请按以下步骤解决配置问题。 - Described
词性:动词(过去分词)
音标:/dɪˈskraɪbd/(“迪-斯-克-瑞-布-德”)
音节划分:De·scribed
释义:被描述的。表示内容已在文本或说明中详细说明。
扩展信息:原形 describe;名词 description;形容词 descriptive。词根 de-(完全)+ scribe(书写)。
注意事项:被动语态常见于技术文档,表示“文中所述”。
例句:The process is described in detail in the user manual.
中文翻译:该过程在用户手册中有详细描述。 - Content
词性:名词
音标:/ˈkɑːntent/(“康-特-恩-特”)
音节划分:Con·tent
释义:内容。指文档、网页或课程中包含的信息集合。
扩展信息:形容词 content(满足的,不同义);注意重音位置。近义词:material, information。
注意事项:此处指“信息内容”,非“满足感”;IT 文档中常指“文档内容”或“资源内容”。
例句:This section contains detailed installation content.
中文翻译:本节包含详细的安装内容。 - Uninstall
词性:动词
音标:/ˌʌnɪnˈstɔːl/(“安-因-斯-托-欧”)
音节划分:Un·in·stall
释义:卸载。指从系统中移除已安装的软件或组件。
扩展信息:名词 uninstallation;反义词 install。前缀 un- 表示“取消”。
注意事项:常用于清理旧版本或冲突软件。
例句:You can uninstall outdated packages using the command line.
中文翻译:您可以使用命令行卸载过时的软件包。 - Check
词性:动词
音标:/tʃɛk/(“切-克”)
音节划分:Check
释义:检出。在版本控制系统中,指从仓库获取特定分支或版本的代码副本。
扩展信息:名词 check;过去式 checked;名词 checkout(检出操作)。易混淆词:cheque(支票,英式拼写)。
注意事项:常与 out 组成短语 check out,不可单独使用表示“检出”。
例句:Check out the latest stable branch before building.
中文翻译:构建前请检出最新的稳定分支。 - Build
词性:动词
音标:/bɪld/(“比-尔-德”)
音节划分:Build
释义:构建。指将源代码通过编译、链接等过程转化为可执行程序或库文件。
扩展信息:过去式 built;名词 build;形容词 buildable。词根 build(建造)。
注意事项:开发流程核心环节,常与 compile、link 同义但更泛化。
例句:Runmake buildto compile the project into an executable.
中文翻译:运行make build将项目编译为可执行文件。 - Run
词性:动词
音标:/rʌn/(“润”)
音节划分:Run
释义:运行。指启动并执行一个程序、脚本或命令。
扩展信息:过去式 ran;名词 runner;形容词 running。近义词:execute, launch。
注意事项:基础但高频的动词,适用于任何可执行实体。
例句:You can run the compiled binary directly from the terminal.
中文翻译:您可以直接从终端运行编译后的二进制文件。 - Operating
词性:形容词(用于 operating system)
音标:/ˈɑːpəreɪtɪŋ/(“奥-珀-雷-廷”)
音节划分:Op·er·at·ing
释义:操作的。指用于控制和管理计算机硬件与软件资源的系统软件特性。
扩展信息:动词 operate;名词 operation;形容词 operational。词根 oper-(工作)+ ate(使…)。
注意事项:仅在搭配 system 时构成固定术语 “operating system”。
例句:Your operating system determines which installer you need.
中文翻译:您的操作系统决定了您所需的安装程序类型。 - MSI
词性:专有名词(缩写)
音标:/ˌɛm es ˈaɪ/(“艾-姆 艾-斯 艾”)
音节划分:M-S-I
释义:Microsoft Installer。微软开发的一种 Windows 平台标准安装包格式,支持事务性安装、回滚等功能。
扩展信息:全称 Microsoft Windows Installer。近义词:EXE(通用可执行安装包)、APPX(UWP 应用包)。
注意事项:仅用于 Windows 系统;安装文件扩展名为 .msi。
例句:Double-click the .msi file to start the Windows installation.
中文翻译:双击 .msi 文件启动 Windows 安装程序。 - Default
词性:形容词 / 名词
音标:/dɪˈfɔːlt/(“迪-佛-欧-特”)
音节划分:De·fault
释义:默认的。指在未指定其他选项时系统自动采用的预设值或行为。
扩展信息:名词 default(违约、默认值);动词 default(违约、默认选择)。词根 de-(离开)+ fault(错误),原义“违约”,引申为“默认”。
注意事项:技术文档高频词,如默认路径、默认配置。
例句:The default installation directory is C:\Program Files\Go.
中文翻译:默认安装目录为 C:\Program Files\Go。 - Location
词性:名词
音标:/loʊˈkeɪʃən/(“楼-凯-申”)
音节划分:Lo·ca·tion
释义:位置。指文件、程序或服务在文件系统中的存储路径或网络地址。
扩展信息:动词 locate;形容词 local;名词 locality。近义词:path, directory。
注意事项:常用于指定安装路径或配置文件位置。
例句:You can change the installation location during setup.
中文翻译:您可以在安装过程中更改安装位置。 - Environment
词性:名词
音标:/ɪnˈvaɪrənmənt/(“因-瓦-伊-尔-恩-门-特”)
音节划分:En·vi·ron·ment
释义:环境。指操作系统中影响程序运行的全局变量集合,如 PATH、GOPATH 等。
扩展信息:形容词 environmental;动词 environ(罕见)。近义词:context, settings。
注意事项:此处特指“环境变量”,非“自然环境”。
例句:The installer modifies your system environment variables.
中文翻译:安装程序会修改您的系统环境变量。 - Reflected
词性:动词(过去分词)
音标:/rɪˈflektɪd/(“瑞-弗-莱-克-提-德”)
音节划分:Re·flect·ed
释义:反映。指系统或界面中显示或应用了先前所做的更改。
扩展信息:原形 reflect;名词 reflection;形容词 reflective。词根 re-(回)+ flect(弯曲)。
注意事项:技术语境中表示“同步更新”或“生效”。
例句:Changes to environment variables are reflected after restarting the shell.
中文翻译:环境变量的更改在重启 Shell 后才会生效。 - Verify
词性:动词
音标:/ˈverɪfaɪ/(“维-瑞-法-伊”)
音节划分:Ver·i·fy
释义:验证。指通过测试或检查确认某项配置、安装或结果是否正确无误。
扩展信息:名词 verification;形容词 verifiable;副词 verified。近义词:confirm, validate。
注意事项:安全与部署流程的关键步骤。
例句:Always verify the software version after installation.
中文翻译:安装后务必验证软件版本。 - Search
词性:动词 / 名词
音标:/sɜːrtʃ/(“瑟-奇”)
音节划分:Search
释义:搜索。指在数据库、文件系统或用户界面中查找特定内容或对象。
扩展信息:名词 search;形容词 searchable;动词 search(重复)。近义词:find, query。
注意事项:UI 设计中常指“搜索框”或“搜索功能”。
例句:Use the search function to find applications in the Start menu.
中文翻译:使用搜索功能在开始菜单中查找应用程序。 - Prompt
词性:名词
音标:/prɑːmpt/(“普-拉-姆-普-特”)
音节划分:Prompt
释义:提示符。指命令行界面中等待用户输入命令的符号或字符串,如$或C:\>。
扩展信息:动词 prompt;形容词 prompt(敏捷的);名词 prompting。近义词:shell prompt, CLI prompt。
注意事项:区分于“提示”(prompts),此处特指“命令提示符”。
例句:The command prompt displaysC:\Users\Username>before each input.
中文翻译:命令提示符在每次输入前显示C:\Users\Username>。 - Prints
词性:动词(第三人称单数)
音标:/prɪnts/(“普-林-特-斯”)
音节划分:Prints
释义:输出。在命令行或日志中显示文本或数值结果。
扩展信息:原形 print;过去式 printed;名词 printer。近义词:display, output。
注意事项:CLI 中“打印”即“显示”,非物理打印。
例句:Thego versioncommand prints the current Go version.
中文翻译:go version命令输出当前 Go 版本。 - Version
词性:名词
音标:/ˈvɜːrʒən/(“沃-尔-申”)
音节划分:Ver·sion
释义:版本。指软件的特定发布迭代,通常由数字标识,如 1.25.5。
扩展信息:形容词 versioned;动词 version(不常用)。近义词:release, build。
注意事项:版本号是软件管理和兼容性的关键标识。
例句:Ensure you are using the latest stable version of Go.
中文翻译:请确保您使用的是最新稳定版 Go。 - Complete
词性:动词
音标:/kəmˈpliːt/(“科-姆-普-利-特”)
音节划分:Com·plete
释义:完成。指结束某项任务、过程或阶段,达到预期目标。
扩展信息:形容词 complete;名词 completion;副词 completely。近义词:finish, conclude。
注意事项:及物动词,后接宾语,如 “complete the tutorial”。
例句:It takes about 10 minutes to complete this introductory tutorial.
中文翻译:完成此入门教程大约需要 10 分钟。
3. 短语表梳理(共收获 12 个短语)
- Download and install
释义:下载并安装。指从互联网获取软件包并将其部署到本地系统的过程。
注意事项:固定搭配,顺序不可颠倒;常用于软件部署第一步。
例句:Download and install the latest Go SDK for your platform.
中文翻译:为您的平台下载并安装最新的 Go SDK。 - Managing Go installations
释义:管理 Go 安装。指在同一系统上安装、切换、删除多个 Go 版本的实践。
注意事项:installations 用复数,强调多实例管理;常与版本管理工具(如 gvm、asdf)相关。
例句:Managing Go installations becomes essential when working with legacy projects.
中文翻译:当处理遗留项目时,管理 Go 安装变得至关重要。 - Installing Go from source
释义:从源码安装 Go。指通过获取 Go 语言源代码、自行编译并安装的方式部署 Go 工具链。
注意事项:适用于定制需求或学习内部机制;耗时较长,需具备编译环境。
例句:Installing Go from source allows you to modify the compiler behavior.
中文翻译:从源码安装 Go 可让您修改编译器行为。 - Operating system
释义:操作系统。指管理计算机硬件与软件资源的核心系统软件,如 Windows、macOS、Linux。
注意事项:固定术语,不可拆分;简称 OS;是决定安装方式的关键因素。
例句:The choice of operating system affects the installation method significantly.
中文翻译:操作系统的选用会显著影响安装方法。 - Start menu
释义:开始菜单。Windows 操作系统中用于启动应用程序、搜索文件或访问设置的主要用户界面入口。
注意事项:仅适用于 Windows 用户;现代版本中与“搜索”功能深度集成。
例句:Open the Start menu by clicking the Windows icon in the taskbar.
中文翻译:点击任务栏上的 Windows 图标以打开开始菜单。 - Search box
释义:搜索框。位于用户界面(如开始菜单、浏览器、文件管理器)中用于输入关键词以查找内容的文本输入区域。
注意事项:UI 设计通用元素;常与“search bar”互换,但“box”更强调输入框本身。
例句:Type “PowerShell” in the search box to launch the terminal.
中文翻译:在搜索框中输入“PowerShell”以启动终端。 - Command Prompt
释义:命令提示符。Windows 操作系统内置的命令行解释器,用于执行批处理脚本和系统命令。
注意事项:专有名称,首字母大写;等效于 Linux/macOS 的 Terminal 或 Shell;常简写为 CMD。
例句:The Command Prompt is still widely used for legacy scripting tasks.
中文翻译:命令提示符仍广泛用于传统脚本任务。 - Close and reopen
释义:关闭并重新打开。指关闭当前窗口或进程后重新启动,以使环境变量或配置变更生效。
注意事项:技术文档中常见操作指令;尤其针对命令行窗口(如 CMD、PowerShell)。
例句:After installing a new tool, close and reopen your terminal to refresh the environment.
中文翻译:安装新工具后,请关闭并重新打开终端以刷新环境。 - Changes to the environment
释义:对环境的更改。指对系统环境变量(如 PATH、GOPATH)所做的修改,这些更改需重启终端才能生效。
注意事项:environment 此处特指 shell 环境;常与 “reflect”、“apply” 搭配。
例句:The installer makes changes to the environment that require a restart.
中文翻译:安装程序对环境所做的更改需要重启才能生效。 - Verify that you've installed
释义:验证您已安装。指通过执行特定命令或检查文件是否存在来确认软件已成功部署。
注意事项:固定表达,常用于安装后验证步骤;you've = you have。
例句:Verify that you've installed Python by runningpython --version.
中文翻译:通过运行python --version验证您已安装 Python。 - Prints the installed version
释义:输出已安装的版本。指命令执行后在终端中显示当前已安装软件的版本号。
注意事项:prints 在 CLI 中意为“显示”;常用于版本验证命令。
例句:Runningnode -vprints the installed version of Node.js.
中文翻译:运行node -v会输出已安装的 Node.js 版本。 - You're all set!
释义:您已准备就绪!表示环境配置、安装或初始化已完成,可开始下一步操作。
注意事项:口语化鼓励语,常见于教程结尾;you're = you are;all set 表示“万事俱备”。
例句:Once you've configured the database, you're all set to deploy the application.
中文翻译:一旦您配置好数据库,即可部署应用程序。
本次处理共收获:
- 词汇总数:19 个
- 短语总数:12 个

浙公网安备 33010602011771号