Logo

Developer learning path

Node.js

Node.js Installation

Node.js Installation

81

#description

Node.js is an open-source, cross-platform, event-driven runtime used for building web applications. In order to use Node.js on your computer, you need to install it first.

Here are the steps to install Node.js on your machine:

  1. Visit the official Node.js website https://nodejs.org/en/ and download the installer for your operating system (Windows, Mac, or Linux).
  1. Run the installer and follow the installation wizard. Accept the default options for most of the settings during the installation process.
  1. Verify that Node.js and npm (Node Package Manager) were installed correctly by opening a terminal and running the following commands:
                    
node -v
                  

This command will display the version of Node.js installed on your computer.

                    
npm -v
                  

This command will display the version of npm installed on your computer.

If both commands show the version of Node.js and npm installed on your computer, the installation process was successful.

Now you're ready to start using Node.js and npm to build your applications!

March 25, 2023

If you don't quite understand a paragraph in the lecture, just click on it and you can ask questions about it.

If you don't understand the whole question, click on the buttons below to get a new version of the explanation, practical examples, or to critique the question itself.