Learning Nest Pt. 3

Feb 8, 2023

The obvious next step is to create the hello, world application in Nest. Run the following command to create the hello, world application using Nest CLI.

nest new hello-world

Nest will ask you to choose the package manager from the options. Go with the default npm (or you can choose yarn if you like) and wait for the Nest CLI to scaffold the application and also install the dependencies of the application.

Once the process is finished, go inside the created hello-world application.

cd hello-world

Then run the following command to start and run the application.

npm run start

Open the http://localhost:3000 in the browser and you should see the “Hello World!”. If that is the case, you just created the hello, world application in Nest. Congratulations!

Tags: nest