Skip to content

Commit 0426583

Browse files
committed
docs: use npm install --location=global and remove --defaults
1 parent 1e82c91 commit 0426583

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ If you already have an existing Angular project on GitHub, skip step 1 and 2.
6262
and create a new Angular project.
6363

6464
```sh
65-
npm install -g @angular/cli
66-
ng new your-angular-project --defaults
65+
npm install --location=global @angular/cli
66+
ng new your-angular-project
6767
cd your-angular-project
6868
```
6969

docs/README_contributors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ Execute the next three steps to update your test project to the latest Angular v
4444
1. Install the latest version of the Angular CLI.
4545

4646
```sh
47-
npm install -g @angular/cli
47+
npm install --location=global @angular/cli
4848
```
4949

50-
2. Run `ng version`, to make sure you have installed Angular v18 or greater.
50+
2. Run `ng version` to make sure you have installed Angular v18 or greater.
5151

5252
3. Update your existing project using the command:
5353

0 commit comments

Comments
 (0)