November 18, 2020 / Nirav Shah
First, all the necessary packages should be updated in your Linux repository using the following command.
$sudo apt update
Install nodejs package which contains binaries for npm as well as for Node.js
$sudo apt install nodejs
For checking if Node.js and npm are installed or not, you can just run the below command.
$sudo apt install build-essential
Now if you want to enable add-ons from npm, you will need to install the development tools of your choice.
Among the many methods of installing npm in Linux, here we learned one of the simplest methods.
As a Director of Eternal Web Private Ltd an AWS consulting partner company, Nirav is responsible for its operations. AWS, cloud-computing and digital transformation are some of his favorite topics to talk about. His key focus is to help enterprises adopt technology, to solve their business problem with the right cloud solutions.
Have queries about your AWS project ideas and concepts? Please drop in your project details to discuss with our AWS experts, professionals and consultants.