How can I check which version of Angular I'm using?

前端 未结 28 1214
死守一世寂寞
死守一世寂寞 2020-11-28 18:23

How can I tell which version of Angular I am using?

I have tried:

angular --version
angular --v
angular -version
angular -v

but get

28条回答
  •  隐瞒了意图╮
    2020-11-28 18:59

    To Angular 4, many of the options no longer work. Update July 2017 Two posibilities:

    1) The simplest one is to open the package.json of our project and to check the versions used, among them the one of Angular.

    2) After executing ng serve, we open the inspector of elements of the explorer that we use and we can observe the version as in the following image.

提交回复
热议问题