docs: update instructions for v9 to reflect cli update (#33473)

PR Close #33473
This commit is contained in:
Igor Minar 2019-10-29 10:34:35 -07:00 committed by Andrew Kushnir
parent 4e38cabc49
commit afa50838a7
1 changed files with 5 additions and 2 deletions

View File

@ -7,11 +7,14 @@ This guide contains everything you need to know about updating to the next Angul
If your application uses the CLI, you can update to version 9 automatically with the help of the `ng update` script: If your application uses the CLI, you can update to version 9 automatically with the help of the `ng update` script:
``` ```
ng update @angular/cli@next @angular/core@next npm install --no-save @angular/cli@8.3.15
ng update @angular/cli @angular/core --next
``` ```
<div class="alert is-important"> <div class="alert is-important">
During the RC period, the `@next` tag is required. This flag will no longer be necessary once version 9 final is released. In order to improve the updating experience, we strongly suggest that you update your local `@angular/cli` to version 8.3.15 or later 8.x version before updating.
Additionally, during the RC period, the `--next` command line flag is required. This flag will no longer be necessary once version 9 final is released.
</div> </div>
The script will run a series of small migrations that will transform the code of your application to be compatible with version 9. The script will run a series of small migrations that will transform the code of your application to be compatible with version 9.