Installing AWS CDK on Mac

2022, Sep 19    

Prerequisites

  • Mac OS X (M1)
  • Linux ( 64bit and Arm )
  • Python 3 / NPM

Install tfenv via Homebrew for MacOS

Install or update the AWS CDK CLI from npm (requires Node.js ≥ 14).

npm i -g aws-cdk

Verify CDK is installed:

cdk version

If installation is succesful should show similar to below :

2.32.1 (build 79cbe95)
****************************************************
*** Newer version of CDK is available [2.42.0]   ***
*** Upgrade recommended (npm install -g aws-cdk) ***
****************************************************

https://github.com/aws/aws-cdk