Skip to content

Commit

Permalink
docs: include major-verson update advice
Browse files Browse the repository at this point in the history
  • Loading branch information
jbogarthyde authored and vikerman committed Oct 22, 2019
1 parent 7677f26 commit 98e0ca4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/angular/cli/commands/update-long.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ ng update @angular/cli @angular/core

To update to the next beta or pre-release version, use the `--next=true` option.

To update from one major version to another, use the format
`ng update @angular/cli@^<major_version> @angular/core@^<major_version>`.

We recommend that you always update to the latest patch version, as it contains fixes we released since the initial major release.
For example, use the following command to take the latest 7.x.x version and use that to update.

`ng update @angular/cli@^7 @angular/core@^7`

For detailed information and guidance on updating your application, see the interactive [Angular Update Guide](https://update.angular.io/).

0 comments on commit 98e0ca4

Please sign in to comment.