Source: towardsthecloud.com

How to set up AWS CDK - complete guide
This can be done by running the following command in your terminal npm install -g aws-cdk.

To install the AWS CDK toolkit on your machine, we use the node package manager in your terminal to install the package globally.

Once you've installed AWS CDK you can validate that it's working by running a command like cdk version ➜ cdk version 1.105.0 (build 4813992) bash

To create the cdk project run the cdk init sample-app --language typescript command in your project folder: ➜ cdk init sample-app --language=typescript Applying project template sample-app for typescript

You now know how to set up AWS CDK, initialize a CDK project, synthesize a CloudFormation template and then deploy it on your AWS account.

Related Articles