Katacoda CLI v2 is delivered as a node package, and to install it Node Package Manager (NPM) is required.
Npm is distributed with Node.js, which means that when you download Node.js, you automatically get NPM installed on your computer.
Download Node.js from this link, choosing the binary according to your architecture.
Run the following command from the terminal to install the latest CLI version.
Once installed, the CLI can be launched by running the katacoda command.
More information can be found at npmjs.com/package/katacoda-cli
To understand more about how the CLI works, complete the following two scenarios.