Install the cdk8s CLI¶
This page describes the different ways you can install the Cloud Development Kit for Kubernetes (cdk8s) command-line interface (CLI) tool on your local machine.
Installation¶
Homebrew¶
To install the cdk8s CLI with Homebrew, run the following command:
brew install cdk8s
npm¶
To install the cdk8s CLI with npm, run the following command:
npm i -g cdk8s-cli
Yarn¶
To install the cdk8s CLI with yarn, run the following command:
yarn global add cdk8s-cli
Check version¶
To check your version, run the following command:
cdk8s --version
2.2.31