What's the difference between angular-cli and @angular/cli on npm

前端 未结 1 1945
Happy的楠姐
Happy的楠姐 2020-12-30 07:20

There are 2 angular cli packages available on npm:

angular-cli which is currently at 1.0.0-beta.28.3

@angular/cli which is currently at 1.0.0-beta.31

1条回答
  •  难免孤独
    2020-12-30 08:00

    @angular/cli is the new package, which name is according to another Angular 2 modules names like @angular/common, @angular/router and so on.

    And also @angular/cli requires Node 6.9.0 or higher, but angular-cli requires Node 4 or higher. So @angular/cli with Node 4 will not work.

    0 讨论(0)
提交回复
热议问题