Member-only story

Getting Started with NestJS: A Step-by-Step Guide

Tomas Svojanovsky
3 min readSep 27, 2024

--

This story is part of the list: NestJS Learning Path

Nodejs installation

First, we need Node.js. There are several ways to install it, depending on whether you use Windows, macOS, or Linux.

If you’re on macOS or Windows, the easiest way to install Node.js is using the prebuilt installer from nodejs.org. However, I recommend using nvm (Node Version Manager) for macOS or Linux because it allows you to install and manage multiple versions of Node.js easily.

This is especially useful if you’re working on multiple projects where one might require the latest version of Node.js while another might depend on an older version. With nvm, you don’t have to install and reinstall different versions manually but can switch between them effortlessly.

On Windows, Chocolatey is a good option if you already have it installed. Another easy-to-use option is Volta, which simplifies the installation process as well.

NestJS installation

Once Node.js is installed, you can easily verify the installation by running this command, which will return the version of Node.js.

node -v

Now, let’s move on to the installation of NestJS.

--

--

Tomas Svojanovsky
Tomas Svojanovsky

Written by Tomas Svojanovsky

I'm a full-stack developer. Programming isn't just my job but also my hobby. I like developing seamless user experiences and working on server-side complexities

No responses yet