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:
You should see output like this:
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:
As output you should see version number, something like this:
1.62.0 (build 8c2d7fc)