In this post I shall I demonstrate how to install the AWS CDK.

AWS CDK: Cloud infrastructure which is defined as code, using languages such as; TypeScript, JavaScript, Python, Java and C#.

Pre install

  • Node.js version 10.3.0 or later
  • AWS account setup, but do not use your root account, instead make a new one using IAM
  • AWS CLI, using account configure to set your preferred region, access keyid, access secret key


Install the CDK using the following command.

npm install -g aws-cdk

Check the version.

cdk --version
1.46.0 (build 63860b2)

Further reading

Getting started

Last updated on 23 Jun 2020
Published on 23 Jun 2020