Angular-cli: What is the difference between npm install @latest and npm install specific version

Created on 17 Mar 2017  路  2Comments  路  Source: angular/angular-cli

Bug Report or Feature Request (mark with an x)

  • [ ] bug report -> please search issues before submitting
  • [x] feature request

Versions.

@angular/cli v1.0.0-rc.2
node: 7.6.0
os: Win32 x64 (Windows 10)

Question.

If I want to use npm to install the latest @angular/cli package and @angular/cli v1.0.0-rc2 is the latest released version...
What is the difference between the following npm commands?
npm install @angular/cli@latest
and
npm install @[email protected]

Most helpful comment

@1.0.0-rc2 will install a specific version while @latest will pull the latest version from npm. In this case they would do the same as 1.0.0-rc2 currently is the latest version.

All 2 comments

@1.0.0-rc2 will install a specific version while @latest will pull the latest version from npm. In this case they would do the same as 1.0.0-rc2 currently is the latest version.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

delasteve picture delasteve  路  3Comments

donaldallen picture donaldallen  路  3Comments

jmurphzyo picture jmurphzyo  路  3Comments

JanStureNielsen picture JanStureNielsen  路  3Comments

rwillmer picture rwillmer  路  3Comments