The preferred way to install the AWS SDK for JavaScript in Node.js is to use the npm package manager for Node.js. To install the SDK, simply type the following into a terminal window:
npm install aws-sdk
After you've installed the SDK, you can require the AWS package in your node
application using require():
var AWS = require('aws-sdk');
Now that you have installed and loaded the SDK, continue on to learn how to configure and use the SDK to make requests to API operations on services.