@@ -146,17 +146,20 @@ You can find more details about changes between versions in [the Releases tab on
146146
147147``` bash
148148git clone https://github.com/angular/angular-cli.git
149- cd angular-cli
149+ npm install
150+ npm run build
151+ cd dist/@angular/cli
150152npm link
151153```
152154
153155` npm link ` is very similar to ` npm install -g ` except that instead of downloading the package
154- from the repo, the just cloned ` angular- cli/ ` folder becomes the global package.
156+ from the repo, the just builded ` dist/@ angular/ cli/` folder becomes the global package.
155157Additionally, this repository publishes several packages and we use special logic to load all of them
156158on development setups.
157159
158160Any changes to the files in the ` angular-cli/ ` folder will immediately affect the global ` @angular/cli ` package,
159- allowing you to quickly test any changes you make to the cli project.
161+ meaning that, in order to quickly test any changes you make to the cli project, you should simply just run ` npm run build `
162+ again.
160163
161164Now you can use ` @angular/cli ` via the command line:
162165
@@ -178,8 +181,8 @@ You can also use `ng new foo --link-cli` to automatically link the `@angular/cli
178181Please read the official [ npm-link documentation] ( https://docs.npmjs.com/cli/link )
179182and the [ npm-link cheatsheet] ( http://browsenpm.org/help#linkinganynpmpackagelocally ) for more information.
180183
181- To run the Angular CLI test suite use the ` node tests/run_e2e.js ` command.
182- It can also receive a filename to only run that test (e.g. ` node tests/run_e2e.js tests/e2e/tests/build/dev-build.ts ` ).
184+ To run the Angular CLI test suite use the ` node ./ tests/legacy-cli/ run_e2e ` command.
185+ It can also receive a filename to only run that test (e.g. ` node ./ tests/legacy-cli/ run_e2e tests/legacy-cli /e2e/tests/build/dev-build.ts ` ).
183186
184187As part of the test procedure, all packages will be built and linked.
185188You will need to re-run ` npm link ` to re-link the development Angular CLI environment after tests finish.
0 commit comments