This topic describes how to install Function Compute SDK for Node.js.

Install the SDK

You can use one of the following methods to install SDK for Node.js:
  • Run the following command to install the latest official version:
    npm install @alicloud/fc2 --save
    Note We recommend that you install the latest official version of SDK for Node.js.
  • Run the following command to install the earlier official version:
    npm install @alicloud/fc --save