From ca1ff3ea11ef1b32bfff1ee365480fcc71c7119e Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 11 Nov 2019 12:54:19 +0100 Subject: [PATCH] docs: update update guide to use `ng update` instead of `npm i` (#33726) For more context see: https://github.com/angular/angular-cli/issues/16021 Closes: https://github.com/angular/angular-cli/issues/16021 PR Close #33726 --- aio/content/guide/updating-to-version-9.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/updating-to-version-9.md b/aio/content/guide/updating-to-version-9.md index e24361f912..ca5a85b3d7 100644 --- a/aio/content/guide/updating-to-version-9.md +++ b/aio/content/guide/updating-to-version-9.md @@ -7,12 +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: ``` -npm install --no-save @angular/cli@^8.3.15 +ng update @angular/core@8 @angular/cli@8 +git add . +git commit --all -m "build: update Angular packages to latest 8.x version" ng update @angular/cli @angular/core --next ```
-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. +In order to improve the updating experience, we strongly suggest that you update to the latest 8.x version of `@angular/core` and `@angular/cli`. 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.