Installing Node.js in Ubuntu

  • by

Step 1-: Open the terminal.

Step 2-: Run the following command.

sudo apt install nodejs

Step 3-: Once installed, verify it by checking the installed version using the following command

node –version

Step 4-: Install NPM package manager.

Run the following command to install npm package manager

sudo apt install npm

Step 5-:  Once installed, verify it by checking the installed version using the following command

npm -version

Leave a Reply

Your email address will not be published. Required fields are marked *