Update CDK to the latest version

If you are doing labs on your own computer, please skip this section as you have already installed latest CDK in the previous step.

Run the following command to update AWS CDK to the latest version:

npm install -g aws-cdk

Verify that AWS CDK is correctly installed by running the following command:

cdk --version

As output you should see version number, something like this:

1.95.1 (build ed2bbe6)