Skip to content

Commit feb295d

Browse files
danielhelfandhansl
authored andcommitted
docs: touching up local installation instructions
1 parent 830ba8f commit feb295d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/angular/cli/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ npm install -g @angular/cli
5353
npm install @angular/cli
5454
```
5555

56-
To run a locally installed version of the angular-cli, you can call `ng` commands directly using your file path to where the `ng` package is installed locally, or you can use `npm run ng <command>`, which will look for locally installed packages before using a globally installed version.
56+
To run a locally installed version of the angular-cli, you can call `ng` commands directly by adding the `.bin` folder within your local `node_modules` folder to your PATH. The `node_modules` and `.bin` folders are created in the directory where `npm install @angular/cli` was run upon completion of the install command.
57+
58+
Alternatively, you can run `npx ng <command>` within the local directory where `npm install @angular/cli` was run, which will use the locally installed angular-cli.
5759

5860
### Install Specific Version (Example: 6.1.1)
5961
```bash

0 commit comments

Comments
 (0)