DEV Community

Cover image for Day 2: Setting Up!
Santosh Shelar
Santosh Shelar

Posted on

Day 2: Setting Up!

Welcome to Day 2: Setting Up!

Today, we're going to get Node.js up and running on your computer. Here's how:

  1. Download Node.js: Go to the official Node.js website (https://nodejs.org/) and download the version that's right for your computer. If you're not sure which one to choose, the LTS (Long-Term Support) version is usually a safe bet.

  2. Install Node.js: Once the download is complete, open the installer and follow the instructions to install Node.js on your computer. It's a pretty straightforward process, just like installing any other software.

  3. Verify Installation: After installation, open your command prompt (if you're using Windows) or terminal (if you're using macOS or Linux). Type the following command and hit Enter:

   node -v
Enter fullscreen mode Exit fullscreen mode

This command checks if Node.js is installed correctly and shows you the version number. If you see a version number printed out, congratulations! Node.js is installed on your computer.

That's it for today! Tomorrow, we'll dive into writing your first Node.js script. Let me know if you have any questions or if you're ready to move on to Day 3!

Top comments (0)