# 第2章：安装与运行环境

- [平台与架构](https://ryanyang.gitbook.io/the-way-to-go-zh-cn/di-yi-bu-fen-xue-xi-go-yu-yan/di-2-zhang-an-zhuang-yu-yun-hang-huan-jing/02.1.md)
- [Go 环境变量](https://ryanyang.gitbook.io/the-way-to-go-zh-cn/di-yi-bu-fen-xue-xi-go-yu-yan/di-2-zhang-an-zhuang-yu-yun-hang-huan-jing/02.2.md)
- [在 Linux 上安装 Go](https://ryanyang.gitbook.io/the-way-to-go-zh-cn/di-yi-bu-fen-xue-xi-go-yu-yan/di-2-zhang-an-zhuang-yu-yun-hang-huan-jing/02.3.md)
- [在 Mac OS X 上安装 Go](https://ryanyang.gitbook.io/the-way-to-go-zh-cn/di-yi-bu-fen-xue-xi-go-yu-yan/di-2-zhang-an-zhuang-yu-yun-hang-huan-jing/02.4.md)
- [在 Windows 上安装 Go](https://ryanyang.gitbook.io/the-way-to-go-zh-cn/di-yi-bu-fen-xue-xi-go-yu-yan/di-2-zhang-an-zhuang-yu-yun-hang-huan-jing/02.5.md)
- [安装目录清单](https://ryanyang.gitbook.io/the-way-to-go-zh-cn/di-yi-bu-fen-xue-xi-go-yu-yan/di-2-zhang-an-zhuang-yu-yun-hang-huan-jing/02.6.md)
- [Go 运行时（runtime）](https://ryanyang.gitbook.io/the-way-to-go-zh-cn/di-yi-bu-fen-xue-xi-go-yu-yan/di-2-zhang-an-zhuang-yu-yun-hang-huan-jing/02.7.md)
- [Go 解释器](https://ryanyang.gitbook.io/the-way-to-go-zh-cn/di-yi-bu-fen-xue-xi-go-yu-yan/di-2-zhang-an-zhuang-yu-yun-hang-huan-jing/02.8.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ryanyang.gitbook.io/the-way-to-go-zh-cn/di-yi-bu-fen-xue-xi-go-yu-yan/di-2-zhang-an-zhuang-yu-yun-hang-huan-jing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
