Skip to content
CDKTN CLI Toolkit

CDKTN CLI Toolkit

Next, we'll install the CDKTN CLI Toolkit. The toolkit is a command-line utility which allows you to work with TerraConstructs apps.

Open a terminal session and run the following command:

  • Windows: you'll need to run this as an Administrator
  • POSIX: on some systems you may need to run this with sudo
npm install -g cdktn-cli

The CLI is installed globally with npm, which ships with Node.js, so this step does not depend on your pnpm setup. The workshop project itself uses pnpm. If you prefer pnpm add -g cdktn-cli, run pnpm setup once and restart your shell first (see the pnpm installation guide).

You can check the toolkit version:

$ cdktn --version
0.25.0
Edit this page