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 😃!