How to install Angular-CLI with Angular v4.x

前端 未结 6 737
后悔当初
后悔当初 2020-12-06 07:31

I\'ve installed Angular-CLI using this command

npm install -g @angular/cli

but I\'ve realized that it has installed Angular v5.1.3 but I ne

6条回答
  •  遥遥无期
    2020-12-06 07:58

    You can use

    npm install -g @angular/cli@1.5

    This should install Angular 4.4.6 and will use angular-cli 1.5.5

    This was the latest version before 5 came in

提交回复
热议问题