Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
805 bytes
|
Line | |
---|
1 | Perform a basic update to the current stable release of the core framework and CLI by running the following command.
|
---|
2 |
|
---|
3 | ```
|
---|
4 | ng update @angular/cli @angular/core
|
---|
5 | ```
|
---|
6 |
|
---|
7 | To update to the next beta or pre-release version, use the `--next` option.
|
---|
8 |
|
---|
9 | To update from one major version to another, use the format
|
---|
10 |
|
---|
11 | ```
|
---|
12 | ng update @angular/cli@^<major_version> @angular/core@^<major_version>
|
---|
13 | ```
|
---|
14 |
|
---|
15 | We recommend that you always update to the latest patch version, as it contains fixes we released since the initial major release.
|
---|
16 | For example, use the following command to take the latest 10.x.x version and use that to update.
|
---|
17 |
|
---|
18 | ```
|
---|
19 | ng update @angular/cli@^10 @angular/core@^10
|
---|
20 | ```
|
---|
21 |
|
---|
22 | For detailed information and guidance on updating your application, see the interactive [Angular Update Guide](https://update.angular.io/).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.