English 中文(简体)
Ubuntu - Node.js
  • 时间:2024-11-03

Ubuntu - Node.js


Previous Page Next Page  

Node.js is a popular JavaScript framework used for developing server side apppcations. In this chapter, we will see how to get Node.js installed on Ubuntu.

Following are the steps to get Node.js installed.

Step 1 − Run the following command.

sudo apt-get install nodejs

This will install all the necessary packages for Node.js

Install Necessary Package

Next, we need to install the Node package manager which is required for Node.js apppcations.

Step 2 − Run the following command.

sudo apt-get install npm

All the necessary packages for the node package manager will be installed.

Necessary Packages

Step 3 − Next, create a symbopc pnk to the Node.js folder. Then, run the Node –v command and npm –v to see the Node and npm version installed.

Create Symbopc Link Advertisements