1[← Asynchronous Call](9-Asynchronous-EN.md) | Package Management[(中文)](10-Package-Management-CN.md) | [Home →](../README.md)
2***
3## Package Management
4
5Alibaba Cloud SDK for Go supports two ways for package management.
6
7### dep
8
9Execute the following command in the alibaba-cloud-sdk-go directory:
10```bash
11# When gopkg.lock and gopkg.toml exist, this instruction will pull the dependency package and put it into the vendor directory.
12dep ensure
13```
14
15### go modules
16
17Execute the following command in the alibaba-cloud-sdk-go directory:
18```bash
19# When go.mod and go.sum exist, the command will pull the dependent package and put it into the $GOPATH/pkg/mod directory.
20go mod tidy
21```
22
23***
24[← Asynchronous Call](9-Asynchronous-EN.md) | Package Management[(中文)](10-Package-Management-CN.md) | [Home →](../README.md)
25