> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coze.cn/llms.txt
> Use this file to discover all available pages before exploring further.

使用 Coze API Go SDK 之前，你需要先参考本文档安装 Go SDK。
## 环境准备 {#d699a6c7}
Coze API Go SDK 适用于 Go 1.8 及以上版本。安装 Go SDK 之前，建议执行以下命令确认你已安装 1.8及以上版本的 Go。
```Bash
# 查看 Go 版本  
 go version

# 回显信息显示已安装 1.18.10 版本
go version go1.18.10 darwin/amd64
```

## 安装 SDK {#754bb445}
:::tip 说明
安装 Coze API Go SDK 时，默认安装最新版本。你也可以[点击此处](https://github.com/coze-dev/coze-go/releases)查看 Coze API Go SDK 已发布的所有历史版本。更多信息，请参见 [README](https://github.com/coze-dev/coze-go/blob/main/README.md)。
:::
可以通过以下方式安装 Coze API Go SDK。
```Bash
go get github.com/coze-dev/coze-go
```


