How to install Nestjs CLI?

January 25, 2022 - 1 min read

To install Nestjs CLI, you can use either one of the npm, yarn, or pnpm package managers.

Using npm package manager

To install it using the npm package manager, we can use the following command,

npm i -g @nestjs/cli

Using yarn package manager

To install it using the yarn package manager, we can use the following command,

yarn global add @nestjs/cli

Using pnpm package manager

To install it using the pnpm package manager, we can use the following command,

pnpm add -g @nestjs/cli

That's all 😃!

Feel free to share if you found this useful 😃.