[Howto] Install Nodejs NPM on Ubuntu 16.04 LTS using apt-get

Hey guys almost after 2 year I am writing this new post , Now  a days we know that Angular js is high in demand as all the Front end as well as backend guys want to learn Angular JS and especially when Angular 4 is released.

So to run Angular JS 4( or 2)  you definitely need NPM , NPM comes with Nodejs installation , so indirectly working with Angular JS required nodejs to be installed on system.
Below are some simple steps if you want to install Nodejs in Ubuntu 16.04 LTS

STEP 1 : Open Terminal (CTRL+ALT+T) andAdd Nodejs PPA
sudo apt-get install python-software-properties
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
Note : if you get the error - curl is not installed in system run below command
           sudo apt install curl 
STEP 2  Install Latest Nodejs and NPM
sudo apt-get install nodejs
STEP 3 Check the version of Nodejs and NPM installed 

for node js
node -v


for NPM
npm -v
By this you will be finished with the installation of Nodejs in ubuntu . Now you can run the Angular js using Angular CLI as well
if you want to install Angular CLI in system , you can use below comand

sudo npm ng -g @angular/cli 

Hope this article will help you in installation. if you guys have any problem leave me a comment happy to help you .

Thanks for reading 
-Noeik





[Howto] Install Nodejs NPM on Ubuntu 16.04 LTS using apt-get [Howto] Install Nodejs NPM on Ubuntu 16.04 LTS using apt-get Reviewed by vishal parashar on 23:24 Rating: 5

Follow and +1 Us

Powered by Blogger.