Skip to content

Commit ffaabd7

Browse files
estrellajmfilipesilva
authored andcommitted
docs: update readme cache instructions
Swapped the npm cache verify around (line 130). Commented out the npm cache clean for npm version older than 5.
1 parent 6e1fc77 commit ffaabd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ To update Angular CLI to a new version, you must update both the global package
127127
Global package:
128128
```bash
129129
npm uninstall -g @angular/cli
130-
npm cache clean
131-
# if npm version is > 5 then use `npm cache verify` to avoid errors (or to avoid using --force)
130+
npm cache verify
131+
# if npm version is < 5 the use `npm cache clean`
132132
npm install -g @angular/cli@latest
133133
```
134134

0 commit comments

Comments
 (0)