Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (7k points)
recategorized by
I have installed Node.js and it works fine. But the problem arises when trying to install npm.

1 Answer

0 votes
by (31.9k points)

Here are the steps:

Install NVM

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.0/install.sh | bash

Activate NVM

$ . ~/.nvm/nvm.sh

Install Node (choose version)

$ nvm install 4.4.5

Confirm Successful Installation

node -e "console.log('Running Node.js ' + process.version)"

Want to Learn DevOps, check out this DevOps Course by Intellipaat. 

Browse Categories

...