Prerequisites

Setup your environment with some prerequisites

Install Node.js

Install Node.js if you don't already have it on your machine.
Good to know: Use a Node version manager (like nvm) to easily switch between different versions of Node.js

Install AWS CLI

Install the lastest version (v2) of the AWS CLI if you don't already have it on your machine.

Configure your AWS CLI profile

Run the following command to setup AWS credentials that can be used by the AWS CLI tool:
aws configure