Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 953 Bytes

File metadata and controls

34 lines (27 loc) · 953 Bytes

Angular

Item Value
Angular CLI (global) 22.1.6, installed via pnpm
Default package manager pnpm
CLI analytics disabled
TypeScript, ESLint, Prettier not global — project-local only

Global CLI

pnpm add -g @angular/cli@22
ng version
ng config -g cli.packageManager pnpm
ng config -g cli.analytics false

The global CLI is a convenience for ng new. Inside a project, use the project-local CLI:

pnpm exec ng <command>

Conventions

  • New workspaces: ng new <app> --package-manager pnpm.
  • TypeScript, ESLint, Prettier, and Tailwind are dependencies of each project, run through pnpm exec — never installed globally. This keeps every project reproducible from its lockfile.
  • The VS Code Angular Language Service, ESLint, Prettier, and Tailwind extensions provide editor integration (vscode.md); they do not replace the local dev dependencies.