- Home
- Code Generators
- Angular CLI
Angular CLI
What it is
Angular CLI is a free, open-source command-line tool for building and maintaining Angular applications. Published on npm as @angular/cli, it provides the ng command. The ng new command sets up a workspace and starter application, and a workspace can hold multiple applications and libraries. During development, ng serve watches files, rebuilds the app, and reloads changes. The CLI can compile, optimize, bundle, and minify projects, with documented build options using esbuild or webpack; schematics automate creating and changing source files. Deployment builders let ng deploy connect projects to services including 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 use require Node.js on an active or maintenance LTS release. Angular major releases are typically supported for 24 months, with 12 months of active support followed by 12 months of LTS.
For and against
For
- Free and open source
- Creates workspaces with applications and libraries
- Development server watches and reloads changes
- Supports multiple package managers
- Includes deployment and end-to-end test builders
Against
- Local use requires Node.js
- Node.js must be an active or maintenance LTS release
The verdict
Angular CLI provides project setup, development, build, test, and deployment tools through the ng command. Its local Node.js requirement is important for developers who prefer not to install a local toolchain.
Who it suits
Angular CLI suits developers creating or maintaining Angular projects who are comfortable with command-line tools. Familiarity with JavaScript, HTML, CSS, and command shells is recommended; TypeScript knowledge is helpful but not required.
Plans and prices
Angular CLI
No paid plans or usage limits stated on the opened official pages
Read 5 Oct 2026 · angular.dev
On the record
- 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 · read 4 Oct 2026
- Builds
- The ng build command compiles TypeScript to JavaScript and can optimize, bundle, and minify output.angular.dev · read 5 Oct 2026
- Build tools
- The documented build targets include builders using esbuild, webpack, and Angular Package Format tooling.angular.dev · read 5 Oct 2026
- Code generation
- Schematics automate generating and modifying application source files.angular.dev · read 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 · read 5 Oct 2026
- Development server
- The ng serve command starts a development server that rebuilds and live reloads after file changes.angular.dev · read 5 Oct 2026
- Distribution
- It is published on npm as the @angular/cli package and includes the ng binary.angular.dev · read 5 Oct 2026
- End-to-end testing
- The CLI supports e2e builders, with setup examples for Cypress, Nightwatch, WebdriverIO, Playwright, and Puppeteer.angular.dev · read 5 Oct 2026
- Install
- Angular documents global installation using npm, pnpm, Yarn, or Bun.angular.dev · read 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 · read 4 Oct 2026
- Package managers
- The CLI installation guide gives commands for npm, pnpm, yarn, and bun.angular.dev · read 5 Oct 2026
- Prerequisites
- Local installation requires Node.js, and the setup guide specifies an active LTS or maintenance LTS version.angular.dev · read 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 · read 4 Oct 2026
- Project setup
- The ng new command creates an Angular workspace and starter application.angular.dev · read 5 Oct 2026
- Purpose
- Angular CLI is a command-line tool for scaffolding, developing, testing, deploying, and maintaining Angular applications.angular.dev · read 5 Oct 2026
- Requirements
- Local CLI use requires Node.js, and Angular specifies an active or maintenance LTS release for Node.js.angular.dev · read 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 · read 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 · read 4 Oct 2026
The review
Overview
Angular CLI is a shell-based toolkit for creating and maintaining Angular applications. It is best suited to developers and teams building with Angular who are comfortable using command-line tools. Its strength is a connected workflow for common project tasks; local use depends on having Node.js installed.
Key features
Distributed through npm as @angular/cli, the CLI provides the ng command and can be installed with npm, pnpm, Yarn, or Bun. The ng new command creates a workspace and starter application, and workspaces can hold multiple applications and libraries. That structure helps organize Angular work, but the tool is a focused choice for this framework rather than a general scaffold for unrelated stacks.
During development, ng serve watches files, rebuilds the application, and reloads changes. The build command compiles TypeScript to JavaScript and can optimize, bundle, and minify output; documented builders use esbuild or webpack. Schematics automate generating and changing source files, and ng add tailwindcss installs dependencies and configures Tailwind CSS. Together, these features keep routine project work within the Angular command-line workflow.
Testing and deployment extend that workflow. 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. Those integrations are useful for teams whose target is covered by a builder, while the deployment command depends on third-party tooling.
An included MCP server connects AI assistants to tools for code generation, workspace analysis, builds, and tests. The setup guide names Cursor, Antigravity, and JetBrains AI. This can fit teams already using those assistants, though the CLI's core value remains its Angular project workflow.
Pricing
Angular CLI: free. The open-source CLI has no paid plans or stated usage limits, making it suitable for individual developers and teams that want Angular's project tooling without a software subscription. There is no free trial because the tool is free.
Platforms
Angular CLI supports Linux, macOS, Windows, and self-hosted use. Local installation and execution require Node.js, specifically an active or maintenance LTS release. Developers without that local toolchain can use Angular's browser tutorial as an introduction, but it does not remove the Node.js requirement for working locally.
Who it's for
The CLI fits developers committed to Angular who want commands for scaffolding, development, builds, tests, and deployment. Angular recommends familiarity with JavaScript, HTML, CSS, command-line tools, and command shells; TypeScript knowledge helps but is not required. Its framework-specific workspace and commands make it a poor fit for people seeking one scaffolding tool across unrelated technologies.
Pros and cons
- Pros: Project creation, live-reloading development, builds, schematics, testing builders, and deployment integrations are available through the Angular CLI workflow.
- Pros: Workspaces can group multiple applications and libraries, which suits projects that need a shared structure.
- Pros: The free, open-source plan has no stated usage limits.
- Cons: Local use requires Node.js, so it does not suit developers who cannot or do not want to install a local Node.js toolchain.
- Cons: The tooling is built around Angular, limiting its usefulness for projects on other frameworks.
- Cons: Deployment integrations use third-party builders, so deployment depends on that additional tooling.
Alternatives
For a Kotlin-focused code-generation task, SQLDelight is an open-source option that generates Kotlin SQL code and supports Android, iOS, web, and other listed platforms. APIMatic is a better fit for API-focused workflows: its free plan covers HTTP and any two programming languages, one API, 10 endpoints, and one team member, while its paid Lite plan is $99 a month. For a free code generator distributed through npm, Homebrew, npx, and standalone binaries, consider Hygen.
NestJS CLI is another free, open-source command-line option. quicktype provides a free web app and CLI under the Apache-2.0 license. ts-proto is an Apache-2.0 licensed open-source repository. Backstage is a free, open-source framework, while Fern offers a free plan for teams of up to 10 members with caps on pages, AI credits, generations, and sites. Browse Code Generators for more options.
Verdict
Choose Angular CLI if you are building Angular applications and want project setup, development, builds, testing, and deployment commands in one framework-focused toolkit. Its free open-source model and workspace workflow are compelling reasons to use it; look elsewhere if you need a cross-framework generator or cannot install Node.js locally.