Builderoom
Install

A command-line tool for initializing, developing, scaffolding, and maintaining Angular applications.

MIT
安装命令(说明)bash
```bash
npm install -g @angular/cli
```
最小用法bash
```bash
ng new my-app
cd my-app
ng serve
```

Product facts

Type
CLI / Terminal
Category
Development & Engineering › Frontend and UI Libraries
Pricing
Open source
License
MIT
Launched
Sep 28, 2026
Listed
Sep 28, 2026
Website
github.com

Overview

GitHubGitHub

Angular CLI is the official command-line tool for Angular, allowing developers to create, develop, build, and maintain Angular applications directly from the terminal.

What It Is

Angular CLI is a CLI tool written in TypeScript, hosted in the angular/angular-cli monorepo on GitHub, and open-sourced under the MIT license. It wraps common Angular development tasks into ng commands, letting developers start projects without manually configuring the underlying build pipeline.

Problems It Solves

Without a CLI tool, setting up an Angular project requires manual configuration of TypeScript compilation, module bundling, dev servers, code generation templates, and more. Angular CLI unifies these steps, reducing the complexity of project initialization and daily development.

Key Capabilities

  • Project Initialization: Quickly create an Angular workspace with a standard directory structure using ng new [PROJECT NAME].
  • Dev Server: Start a local development environment with live preview using ng serve.
  • Schematics Scaffolding: Built-in Schematics mechanism to generate components, services, and other code files following best practices.
  • Build System: The repository includes packages like @angular/build and @angular-devkit/build-angular to handle application compilation and bundling.
  • SSR Support: Provides the @angular/ssr package for server-side rendering features.

Monorepo Structure

The repository is a monorepo containing multiple tools and packages:

  • Tools: @angular/cli (the main CLI), @angular/build (build system), @angular-devkit/schematics-cli (Schematics CLI).
  • Core Packages: @angular-devkit/architect, @angular-devkit/core, @angular-devkit/schematics, etc.
  • Build Packages: @angular-devkit/build-angular, @angular-devkit/build-webpack.
  • Others: @angular/create, @ngtools/webpack, etc.

Who It's For

Ideal for frontend engineers building web applications with the Angular framework, as well as teams that need standardized Angular project structures and build pipelines. Node.js and npm must be installed before use.

Key features

  • Project Creation: Quickly generate an Angular workspace with a standard directory structure using the ng new command.
  • Dev Server: Start a local development server with ng serve to run and preview your application.
  • Schematics Scaffolding: Built-in Schematics support to generate components, modules, and other code structures following conventions.
  • Build System: Includes packages like @angular/build to handle compilation and bundling of Angular applications.
  • SSR Support: Provides the @angular/ssr package to enable server-side rendering for Angular applications.
  • Monorepo Architecture: Centrally manages multiple npm packages including the CLI, build tools, and core libraries within a single repository.

Releases

Notify me

Initial · Angular CLI

Q&A

What are the prerequisites for installing Angular CLI?AI-generated
You need to install Node.js first, which comes with the Node Package Manager (npm). Once the requirements are met, install it globally via npm install -g @angular/cli.
How do I create and run a new project?AI-generated
First, run ng new [PROJECT NAME] to create the workspace, then cd [PROJECT NAME] to enter the directory, and finally run ng serve to start the application.
What are the main packages in this repository?AI-generated
They mainly include @angular/cli, @angular/build, @angular/ssr, @angular-devkit/architect, @angular-devkit/build-angular, @angular-devkit/core, @angular-devkit/schematics, and more.
What license does Angular CLI use?AI-generated
It uses the MIT license.
Install
Bookmark

This product has no owner yet

It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.

Claim this product

Alternatives

The product content on this page was translated by AI from the author's original.