This topic describes how to add dependencies to install the Alibaba Cloud SDK for Node.js.
Prerequisites
- The Node.js environment is installed. The Node.js version is 8.0 or later.
- An Alibaba Cloud account is created and an AccessKey pair is created. For more information, see Create an AccessKey pair.
Procedure
To install the Alibaba Cloud SDK for Node.js by using a dependency manager, perform the following operations:
npm install @alicloud/pop-core -S
You can also use package managers such as cnpm and Yarn to install the @alicloud/pop-core library.
After the Alibaba Cloud SDK for Node.js is installed, you can use OpenAPI Explorer to generate the sample code of API operations for the SDK, and apply the sample code in your projects. For more information, see GitHub repositories.