- Ubuntu Tutorial
- Ubuntu - Home
- Ubuntu - Overview
- Ubuntu - Flavors
- Ubuntu - Environment
- Ubuntu - Device Drivers
- Ubuntu - Software Center
- Ubuntu - Browsers
- Ubuntu - Email
- Ubuntu - Messaging
- Ubuntu - Media Players
- Ubuntu - User Management
- Ubuntu - Files & Folders
- Ubuntu - Word Writer
- Ubuntu - Spreadsheets
- Ubuntu - LibreOffice
- Ubuntu - Command Line
- Ubuntu - Scripting
- Ubuntu - Networking
- Ubuntu - Server Installation
- Ubuntu - Secure Shell
- Ubuntu - Development
- Ubuntu - Nginx
- Ubuntu - Virtual Machines
- Ubuntu - Installing MySQL & Python
- Ubuntu - Node.js
- Ubuntu - Docker
- Ubuntu - On the Cloud
- Ubuntu Useful Resources
- Ubuntu - Quick Guide
- Ubuntu - Useful Resources
- Ubuntu - Discussion
Ubuntu - Node.js
Node.js is a popular JavaScript framework used for developing server side applications. 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
Next, we need to install the Node package manager which is required for Node.js applications.
Step 2 − Run the following command.
sudo apt-get install npm
All the necessary packages for the node package manager will be installed.
Step 3 − Next, create a symbolic link to the Node.js folder. Then, run the Node –v command and npm –v to see the Node and npm version installed.