Following command will install the Nest CLI. This CLI will help us to scaffold the Nest application and provide the toolchain to do many other important things with Nest application. We’ll cover most of the toolchain functionalities in future.
npm i -g @nestjs/cli
You might need to wait for a couple of minutes to finish the installation. Once the installation is done, you have the nest
command in the terminal. Run the following command to confirm the installation of Nest CLI or nest
.
nest --version
9.1.8
If you see some version as output, you’ve correctly installed the Nest CLI or nest on your computer.