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 update -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.62.0 (build 8c2d7fc)