Install CDK

If you are using remote VM, please skip this section as CDK is already installed there.

First you need to install the AWS CDK Toolkit. The toolkit is a command-line utility which allows you to work with CDK apps.

Verify that you have Node.js installed by running the following command:

node --version

You should see output like this:

v15.9.0

Run the following command to install AWS CDK:

npm install -g aws-cdk

Verify that AWS CDK is correctly installed by running the following command:

cdk --version

As output you should see version number, something like this:

1.97.0 (build c52c2dc)