Angular CLI
angular.dev
- Free plan
- Windows
- macOS
- Linux
- Self-hosted
What Angular CLI is
Angular CLI is a free, open-source command-line tool for scaffolding, developing, testing, building, deploying, and maintaining Angular applications. Published on npm as @angular/cli, it provides the ng command. The ng new command creates a workspace and starter application, and a workspace can hold multiple applications and libraries. During development, ng serve watches files, rebuilds the application, and reloads changes. The ng build command compiles TypeScript to JavaScript and can optimize, bundle, and minify output; documented builders use esbuild or webpack. Schematics automate generating and modifying source files. Deployment builders let ng deploy connect to Firebase Hosting, Vercel, Netlify, GitHub Pages, and Amazon Cloud S3. The CLI also supports end-to-end test builders, Tailwind CSS setup, and an MCP server with tools for code generation, workspace analysis, builds, and tests. Installation is documented for npm, pnpm, Yarn, or Bun. Local installation and execution require Node.js on an active or maintenance LTS release. Angular major releases are typically supported for 24 months: 12 months of active support followed by 12 months of LTS.
Who it suits
It suits developers building Angular applications who are comfortable using command-line tools and a supported Node.js release. Familiarity with JavaScript, HTML, and CSS is recommended; TypeScript knowledge is helpful but not required.
Good to know, and what to watch
- Creates workspaces with multiple applications and libraries.
- Watches files and reloads changes during development.
- Builds can optimize, bundle, and minify output.
- Deployment builders connect to several hosting services.
- Available free and open source.
- Local use requires Node.js on an active or maintenance LTS release.
- Use requires command-line tools and a command shell.
Plans
Every plan and priceAngular CLI
Open source
The verdict
Angular CLI brings project setup, development, testing, builds, and deployment workflows into one command-line tool. It is a practical fit for Angular work if you can meet its Node.js prerequisite.
What the maker publishes
- AI integrations
- The CLI includes an MCP server for AI assistants, with tools for code generation, workspace analysis, builds, and tests; its setup guide names Cursor, Antigravity, and JetBrains AI. source
- Builds
- The ng build command compiles TypeScript to JavaScript and can optimize, bundle, and minify output. source
- Build tools
- The CLI can compile, optimize, bundle, and minify projects, with documented builders using esbuild or webpack. source
- Build tools
- The documented build targets include builders using esbuild, webpack, and Angular Package Format tooling. source
- Code generation
- Schematics automate generating and modifying application source files. source
- Deployment integrations
- The ng deploy command can run third-party builders for Firebase Hosting, Vercel, Netlify, GitHub Pages, and Amazon Cloud S3. source
- Deployment integrations
- The ng deploy command runs a project deployment builder, with documented options including Firebase, Vercel, Netlify, GitHub Pages, and Amazon Cloud S3. source
- Development server
- The ng serve command starts a development server that watches files, rebuilds the application, and live reloads changes. source
- Development server
- The ng serve command starts a development server that rebuilds and live reloads after file changes. source
- Distribution
- The CLI is published on npm as @angular/cli and provides the ng command. source
- Distribution
- It is published on npm as the @angular/cli package and includes the ng binary. source
- End-to-end testing
- The CLI supports e2e builders, with setup examples for Cypress, Nightwatch, WebdriverIO, Playwright, and Puppeteer. source
- Install
- Angular documents global installation using npm, pnpm, Yarn, or Bun. source
- Notable limit
- Angular says the CLI requires Node.js for local installation and execution; its browser tutorial offers an online introduction without local setup. source
- Package managers
- The CLI installation guide gives commands for npm, pnpm, yarn, and bun. source
- Prerequisites
- Local installation requires Node.js, and the setup guide specifies an active LTS or maintenance LTS version. source
- Project generation
- The ng new command creates an Angular workspace and starter application, and workspaces can contain multiple applications and libraries. source
- Project setup
- The ng new command creates an Angular workspace and starter application. source
- Purpose
- Angular CLI is a command-line tool for scaffolding, developing, testing, deploying, and maintaining Angular applications. source
- Purpose
- Angular CLI is a command-line tool for scaffolding, developing, testing, deploying, and maintaining Angular applications. source
- Requirements
- Local CLI use requires Node.js, and Angular specifies an active or maintenance LTS release for Node.js. source
- Security
- The Angular security guide recommends keeping Angular packages up to date to receive security fixes and advises against trusting untrusted templates. source
- Security
- Angular sanitizes and escapes untrusted values inserted into the DOM through template bindings or interpolation; its security guide says it does not cover application-level authentication and authorization. source
- Support
- Angular's contribution guide directs general support questions to Stack Overflow and its community Discord, and says GitHub issues are for bugs and feature requests. source
Checked against the maker's pages on 5 Oct 2026.