Angular 2 Typescript NPM

To use npm command you need to install the nodeJS. (In windows)

If you want to install it in Mac or Linux please follow the tips bellow:

Angular 2 typescript Mac npm install:  Angular typescript Mac npm install

Angular 2 typescript Linux npm install: Angular typescript Linux npm install

Let’s start then our installation in windows.

Step -1-

Go to the nodeJS website: https://nodejs.org/

angular typescript nodejs npm windows home page
angular typescript nodejs npm windows home page

 

step -2-

Then go to download section: you will see something like in this picture:

angular typescript npm nodejs windows website download
angular typescript npm nodejs windows website download

step -3-

download the current version and click to start the install wizard, click next

angular typescript npm nodejs windows 1
angular typescript npm nodejs windows 1

step -4-

read the license agreement and click next

angular typescript npm nodejs windows 2
angular typescript npm nodejs windows 2

step -5-

select the destination folder and then click next button

angular typescript npm nodejs windows 3
angular typescript npm nodejs windows 3

 

step -6-

you can configure the installation options but if it’s your first time install please keep all by default, and click next

angular typescript npm nodejs windows 4
angular typescript npm nodejs windows 4

step -7-

now click the install button and wait until the installation is done.

angular typescript npm nodejs windows 5
angular typescript npm nodejs windows 5

 

step -8-

Click the finish button and it’s ok, you have installed nodeJS to start you angular and typescript project. Now you can run command like npm xxxxxxx , because npm is installed with nodeJS.

angular typescript npm nodejs windows 6
angular typescript npm nodejs windows 6

step -9-

Open your terminal or command line (cmd.exe)

And run the command as shown in this picture.

angular typescript nodejs npm windows install version
angular typescript nodejs npm windows install version

done !

start your project now with angular typescript :

angular typescript hello world example