Skip to content

Commit 98e0ca4

Browse files
jbogarthydevikerman
authored andcommitted
docs: include major-verson update advice
1 parent 7677f26 commit 98e0ca4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/angular/cli/commands/update-long.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,12 @@ ng update @angular/cli @angular/core
66

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

9+
To update from one major version to another, use the format
10+
`ng update @angular/cli@^<major_version> @angular/core@^<major_version>`.
11+
12+
We recommend that you always update to the latest patch version, as it contains fixes we released since the initial major release.
13+
For example, use the following command to take the latest 7.x.x version and use that to update.
14+
15+
`ng update @angular/cli@^7 @angular/core@^7`
16+
917
For detailed information and guidance on updating your application, see the interactive [Angular Update Guide](https://update.angular.io/).

0 commit comments

Comments
 (0)