Install Specific CDK Versions And/Or By Project#

You can install the CDK toolkit for a specific project by omitting -g from the npm install command then invoking it with npx aws-cdk. You can also install the toolkit for a specific version with npm install -g [email protected].

Install specific version for a project#

Install specific version globally#

Use the installed version#

npx aws-cdk ...