Skip to content

Angular CLI

Command-line tool to create, develop, and maintain Angular web applications.

Stars
27k
Forks
11.8k
Licence
MIT
Language
TypeScript
Last update
4 days ago
Type
CLI

What it is

The Angular CLI is a command-line tool for starting, building, and maintaining Angular applications from a terminal. It can create a new project workspace, run a local development server, and scaffold parts of an app. It is the official tooling for the Angular web framework and is maintained by the Angular team.

  • Create a new Angular workspace with a single command (ng new)
  • Run a local development server while editing an app (ng serve)
  • Scaffold parts of an Angular project using schematics

Great for

  • Developers starting a new Angular web application
  • Teams maintaining existing Angular projects who want standard commands
  • Developers who want the official, Angular-team-maintained project setup

Not ideal for

  • People who do not use Angular, since the tool only works with that framework
  • Non-developers looking for a visual app builder, because it is driven by terminal commands
  • Those needing a non-Node.js toolchain, since the README's setup relies on Node.js and npm
Step-by-step guide: how to use Angular CLIInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    Install with a package manager

    You'll need: Node.js (includes npm)

    Install the Angular CLI globally

    npm install -g @angular/cli

    Create a new workspace

    ng new [PROJECT NAME]
  2. 2

    Run it

    • Install Node.js, which includes npm
    • Run npm install -g @angular/cli
    • Run ng new [PROJECT NAME] to create a workspace
    • Change into the project folder and run ng serve
  3. 3

    Get the most out of it

    • Read the official CLI documentation at angular.dev/tools/cli for full command references
    • Review the workspace configuration and file structure docs to customize projects
    • Explore schematics to scaffold and extend project code

Downloads

Strengths

  • Official tool from the Angular project, maintained alongside the framework
  • Simple, documented starting commands in the README
  • Open source under the MIT license with a large community (about 27,000 stars)

Trade-offs

  • Requires Node.js and npm, and is only useful if you are building with Angular
  • The README is largely links to external documentation, so detailed usage must be read elsewhere
  • The README is auto-generated and points to docs for most details, so this entry relies on limited information

How it compares

ProjectStarsTypeLevelUpdatedBest for
angular-cli (this)27kCLIbeginner4 days agoDevelopers starting a new Angular web application
vite83.7kDev toolintermediate4 days agoFrontend developers starting a new modern web project
nx29.4kDev toolintermediate4 days agoTeams with several related JavaScript or TypeScript projects in one repository
create-react-app103kDev toolbeginner1.7 years agoFollowing an existing React tutorial that uses Create React App
angular101kFrameworkintermediate5 days agoDevelopers building larger, multi-screen web applications
storybook91.4kDev toolintermediate4 days agoFrontend teams building a shared component library or design system

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.