From d65334223b98da597ae62f3bc78822b5be0e216d Mon Sep 17 00:00:00 2001 From: Jose E Date: Sun, 21 Aug 2022 13:21:06 -0600 Subject: [PATCH] docs(@angular/cli): add --location=global flag for Nodejs v16 and later --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e8a4587dbfc..5017d14ff9e9 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,13 @@ Get started with Angular CLI, learn the fundamentals and explore advanced topics Install the Angular CLI globally: -``` +```bash +# Nodejs v16 & later +npm install --location=global @angular/cli + +OR + +# Nodejs v14 & older npm install -g @angular/cli ```