How to Install Latest Nodejs, Npm, Angular 2, Typescript on Ubuntu 16.04

https://tecadmin.net/install-latest-nodejs-npm-on-ubuntu/#

Run following scripts

$ sudo apt-get install python-software-properties

$ curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -

$ sudo apt-get install nodejs

$ node -v

$ npm -v

Now install Angular

$ sudo npm install -g @angular/cli

$ ng -v

Now install Typescript

$ sudo npm install -g typescript

$ tsc -v

$ sudo npm install -g gulp

$ gulp -v

 

Rating: