Angular installation

前端 未结 9 1110
傲寒
傲寒 2021-02-06 13:55

I want to install Angular version 4.* on my windows 7.
I am currently using Angular version 1.6.*

I tried following command

npm install @angular/{com         


        
9条回答
  •  南旧
    南旧 (楼主)
    2021-02-06 14:15

    I am adding this to update the answer.

    If you want to install the latest angular version others answers are for you.

    If you want to install a specific version of angular (Get your version number here) You should use the below command.

    npm install -g @angular/cli@VERSION_NUMBER
    

    for example, if you want to install angular 1.4.9 command should be like below

    npm install -g @angular/cli@1.4.9
    

提交回复
热议问题