Angular CLI

What Angular CLI is
Angular CLI is a free, open-source command-line tool for creating 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 CLI can compile, optimize, bundle, and minify projects; documented builders use esbuild or webpack. Schematics automate source-file generation and modification. 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. Angular documents installation with 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, including 12 months of active support and 12 months of LTS.
Who it suits
Angular CLI suits developers building Angular applications who are comfortable with JavaScript, HTML, CSS, command-line tools, and command shells. TypeScript knowledge is helpful but not required.
What it does well
- Free and open source
- Creates workspaces with applications and libraries
- Supports esbuild and webpack build options
- Deployment builders cover several hosting services
- Supports end-to-end test builders
What to know first
- Local installation and execution require Node.js
- Angular major releases typically have 24 months of support
Limits
Local installation and execution require Node.js, and Angular specifies an active or maintenance LTS release. The facts state no paid plans or usage limits.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Angular CLI | No paid plans or usage limits stated on the opened official pages | Free |
As angular.dev lists them, read 5 Oct 2026. The maker's own page has the final word.
Getting started
- Install Node.js using an active or maintenance LTS release.
- Install @angular/cli globally with npm, pnpm, Yarn, or Bun.
- Run ng new to create a workspace and starter application.
- Use ng serve to run the development server and reload changes as files change.
- Use ng build to compile and optimize the project, and configure a deployment builder if needed.
Overview
Angular CLI is a focused command-line workflow for building and maintaining Angular applications. It is best suited to developers and teams already committed to Angular who want project setup, builds, tests, and deployment integrations in one toolkit. Its strength is that integrated workflow; its central limitation is that it serves Angular projects rather than software development in general.
Key features
Distributed through npm as @angular/cli, the CLI provides the ng command and can be installed with npm, pnpm, Yarn, or Bun. ng new creates a workspace and starter application, and workspaces can hold multiple applications and libraries. That is a useful foundation for organizing Angular work, especially where a team needs related apps and libraries together, but it is not a framework-neutral project generator.
For the development cycle, ng serve watches files, rebuilds the application, and reloads changes. The build command compiles TypeScript into JavaScript and can optimize, bundle, and minify output; documented builders use esbuild or webpack. Schematics automate creation and modification of source files, while ng add tailwindcss installs dependencies and configures Tailwind CSS. These capabilities reduce the need to assemble separate tools for routine Angular tasks, though the workflow remains shaped around Angular conventions.
The CLI supports end-to-end testing builders, with setup examples for Cypress, Nightwatch, WebdriverIO, Playwright, and Puppeteer. Its ng deploy command can run third-party builders for Firebase Hosting, Vercel, Netlify, GitHub Pages, and Amazon Cloud S3. That breadth gives Angular teams several deployment paths without making the CLI itself a hosting service.
An MCP server connects the CLI to AI assistants with tools for code generation, workspace analysis, builds, and tests. The setup guide names Cursor, Antigravity, and JetBrains AI. This can extend an existing assistant workflow, but the core value remains the project tooling rather than AI features alone.
Pricing
Angular CLI is free and open source. The Angular CLI plan costs free; no paid tiers or usage limits are stated. That makes it a straightforward choice for individuals and teams who need its Angular workflow without a software fee, rather than a limited entry tier intended to lead into paid plans.
There is no free trial because the CLI is free. The practical cost is the local development environment: Node.js is required, and Angular specifies an active LTS or maintenance LTS release. Users who cannot install and run Node.js locally can use Angular’s browser tutorial for an online introduction, but it is not a substitute for local CLI execution.
Platforms
Angular CLI supports Linux, macOS, Windows, and self-hosted environments. It is a command-line tool, not a browser-based editor; local use requires Node.js and comfort with command-line tools and shells. Angular recommends familiarity with JavaScript, HTML, and CSS, while TypeScript knowledge is helpful but not required.
Who it's for
Choose Angular CLI if Angular is already the framework decision and you want a consistent way to scaffold workspaces, generate code, run a development server, build, test, and connect deployment builders. It is particularly suitable for projects with multiple Angular applications or libraries in one workspace.
Look elsewhere if you need a general-purpose generator for unrelated frameworks, or if local Node.js installation is not possible. Newcomers can start with Angular’s browser tutorial, while actual local CLI work calls for a shell and the supported Node.js environment.
Pros and cons
- Pros: Workspace creation, schematics, development serving, builds, and testing builders bring common Angular project tasks into one CLI.
- Pros: The free, open-source plan has no stated usage limits or paid tiers, so there is no plan cap to outgrow.
- Pros: Third-party deployment builders cover several named hosting services, and MCP tools can bring workspace and build operations into supported AI assistants.
- Cons: It is specifically built for Angular, so it is a poor fit when the project needs framework-independent scaffolding.
- Cons: Local execution depends on Node.js and command-line familiarity, creating setup friction for people seeking a browser-only workflow.
- Cons: Angular advises keeping packages up to date for security fixes and warns against trusting untrusted templates, leaving package and template hygiene as an ongoing responsibility.
Alternatives
Code Generators is a useful category to browse when the need is broader than Angular project tooling.
- quicktype is a free, open-source option with a web app and CLI; choose it when code generation across its web or command-line workflow is a better fit than an Angular workspace tool.
- SQLDelight is a free open-source Kotlin SQL code generation library. Pick it for Kotlin SQL generation rather than Angular application scaffolding.
- Fern has a free forever plan for teams of up to 10, with limits on pages, AI credits, page generations, and one site. Consider it when those team and publishing allowances suit the work better than Angular’s local CLI workflow.
- Hygen is a free code generator distributed through npm, Homebrew, npx, and standalone binaries; it is an alternative when a standalone generator is the priority.
- JHipster is a free, open-source development platform; consider it when that broader platform is more appropriate than an Angular-specific CLI.
- Nx offers a free Hobby plan with 50,000 monthly-reset credits, five contributors, and 10 concurrent CI connections. It may suit projects that can use those defined collaboration and CI allowances.
- OpenAPI Generator is a free, open-source generator for API clients, server stubs, documentation, and configurations; choose it for those API outputs rather than Angular application workspaces.
- Spring Initializr is a free, Apache 2.0-licensed option; consider it when its project initialization workflow is the relevant alternative.
Verdict
Angular CLI is the right choice for developers and teams building in Angular who want a free, cohesive path from workspace creation through builds and testing, with deployment integrations when needed. Its main reason to choose is the breadth of Angular-specific work handled through ng; look elsewhere for framework-neutral generation or when local Node.js and a command shell are not viable.
Verdict
Angular CLI provides project setup, development, build, test, and deployment tools through the ng command. It is a fit for Angular work that can use a local Node.js environment.
Questions
How much does Angular CLI cost?
Angular CLI is free and open source. No paid plans or usage limits are stated.
Which operating systems does it support?
The listed platforms are Linux, macOS, self-hosted, and Windows. Local use requires Node.js.
How do I install it?
Angular documents global installation with npm, pnpm, Yarn, or Bun. The package is published on npm as @angular/cli and provides the ng command.
What can it do?
It can scaffold, develop, test, build, deploy, and maintain Angular applications. It also supports schematics, end-to-end test builders, Tailwind CSS setup, and deployment builders for named hosting services.
Does it support AI assistants?
Yes. The CLI includes an MCP server with tools for code generation, workspace analysis, builds, and tests. Its setup guide names Cursor, Antigravity, and JetBrains AI.
Who maintains Angular CLI and how long are releases supported?
Angular major releases are typically supported for 24 months: 12 months of active support followed by 12 months of LTS.
Facts from Angular CLI's own pages
- 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. · angular.dev, 4 Oct 2026
- Builds
- The ng build command compiles TypeScript to JavaScript and can optimize, bundle, and minify output. · angular.dev, 5 Oct 2026
- Build tools
- The documented build targets include builders using esbuild, webpack, and Angular Package Format tooling. · angular.dev, 5 Oct 2026
- Code generation
- Schematics automate generating and modifying application source files. · angular.dev, 4 Oct 2026
- Deployment integrations
- The ng deploy command runs a project deployment builder, with documented options including Firebase, Vercel, Netlify, GitHub Pages, and Amazon Cloud S3. · angular.dev, 5 Oct 2026
- Development server
- The ng serve command starts a development server that rebuilds and live reloads after file changes. · angular.dev, 5 Oct 2026
- Distribution
- It is published on npm as the @angular/cli package and includes the ng binary. · angular.dev, 5 Oct 2026
- End-to-end testing
- The CLI supports e2e builders, with setup examples for Cypress, Nightwatch, WebdriverIO, Playwright, and Puppeteer. · angular.dev, 5 Oct 2026
- Install
- Angular documents global installation using npm, pnpm, Yarn, or Bun. · angular.dev, 4 Oct 2026
- Notable limit
- Angular says the CLI requires Node.js for local installation and execution; its browser tutorial offers an online introduction without local setup. · angular.dev, 4 Oct 2026
- Package managers
- The CLI installation guide gives commands for npm, pnpm, yarn, and bun. · angular.dev, 5 Oct 2026
- Prerequisites
- Local installation requires Node.js, and the setup guide specifies an active LTS or maintenance LTS version. · angular.dev, 5 Oct 2026
- Project generation
- The ng new command creates an Angular workspace and starter application, and workspaces can contain multiple applications and libraries. · angular.dev, 4 Oct 2026
- Project setup
- The ng new command creates an Angular workspace and starter application. · angular.dev, 5 Oct 2026
- Purpose
- Angular CLI is a command-line tool for scaffolding, developing, testing, deploying, and maintaining Angular applications. · angular.dev, 5 Oct 2026
- Requirements
- Local CLI use requires Node.js, and Angular specifies an active or maintenance LTS release for Node.js. · angular.dev, 4 Oct 2026
- 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. · angular.dev, 5 Oct 2026
- 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. · github.com, 4 Oct 2026
- Support and audience
- The CLI docs recommend familiarity with JavaScript, HTML, CSS, command-line tools, and command shells; TypeScript knowledge is helpful but not required. · angular.dev, 5 Oct 2026
- Tailwind integration
- The ng add tailwindcss command installs dependencies and configures Tailwind CSS in an Angular project. · angular.dev, 5 Oct 2026
- Version support
- Angular major releases are typically supported for 24 months, with 12 months of active support followed by 12 months of LTS. · angular.dev, 4 Oct 2026
- Vulnerability reporting
- Angular participates in Google's Open Source Software Vulnerability Reward Program and directs vulnerability reports to Google Bug Hunters. · angular.dev, 5 Oct 2026
Where Angular CLI stands on Freedom251
- Code Generators#5 of 33
