Performance: Angular CLI installation and setup
MEDIUM IMPACT
This affects the initial project setup speed and the size of the development environment, impacting how quickly you can start coding and testing.
npm install -g @angular/cli@latest && ng new my-appnpm install -g @angular/cli@latest && ng new my-app --skip-install && cd my-app && npm install| Pattern | Setup Time | Build Time | Bundle Size Impact | Verdict |
|---|---|---|---|---|
| Skipping install during ng new | Longer due to extra npm install | No direct impact | No impact | [X] Bad |
| Default ng new with install | Faster single step | No direct impact | No impact | [OK] Good |
| Global install with --force | Normal install time | Potential rebuild delays | No impact | [X] Bad |
| Global install without --force | Normal install time | Smooth builds | No impact | [OK] Good |