CLI tool for Angular
The Angular CLI is a command-line interface tool that you use to initialize, develop, scaffold,
and maintain Angular applications directly from a command shell.
Contributing Guidelines
·
Submit an Issue
·
Blog
Get started with Angular CLI, learn the fundamentals and explore advanced topics on our documentation website.
Install the Angular CLI globally:
npm install -g @angular/cliCreate workspace:
ng new [PROJECT NAME]Run the application:
cd [PROJECT NAME]
ng serveAngular is cross-platform, fast, scalable, has incredible tooling, and is loved by millions.
Learn about the latest improvements.
Check out our upgrade guide to find out the best way to upgrade your project.
Read through our contributing guidelines to learn about our submission process, coding rules and more.
Want to report a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues labeled as help wanted or good first issue.
Help us keep Angular open and inclusive. Please read and follow our Code of Conduct.
Read through our developer guide to learn about how to build and test the Angular CLI locally.
Join the conversation and help the community.
This is a monorepo which contains many tools and packages:
| Project | Package | Version | Links |
|---|---|---|---|
| Angular Build System | @angular/build |
||
| Angular CLI | @angular/cli |
||
| Schematics CLI | @angular-devkit/schematics-cli |
| Project | Package | Version | Links |
|---|---|---|---|
| Angular SSR | @angular/ssr |
||
| Architect | @angular-devkit/architect |
||
| Build Angular | @angular-devkit/build-angular |
||
| Build Webpack | @angular-devkit/build-webpack |
||
| Core | @angular-devkit/core |
||
| Schematics | @angular-devkit/schematics |
| Project | Package | Version | Links |
|---|---|---|---|
| Angular Create | @angular/create |
||
| Webpack Angular Plugin | @ngtools/webpack |
| Project | Package | Version | Links |
|---|---|---|---|
| Angular PWA Schematics | @angular/pwa |
||
| Angular Schematics | @schematics/angular |
Love Angular CLI? Give our repo a star :star: :arrow_up:.
Dependency Dashboard
Angular project in subfolder of Git worktree emits cache at root of main Git repo
stats.json is non-deterministic when two component stylesheets produce the same output file
unit-test builder (Vitest, 22.2.0 OXC linker): ReferenceError on class referenced by name before its own declaration in a partially-compiled npm library
SSG/Prerendering: Allow generating foo.html instead of foo/index.html
ng serve with esbuild/Vite ignores sourceMap configuration, injecting large inline source maps into all files
JS support for PostCSS config
application builder's dev-server doesn't work with imports of html files from ts
library builder: a name re-exported through two "export *" paths is dropped from the bundle
library builder: tslib is not added to the output package.json