Welcome to the Angular CLI documentation page! Here you will find all the necessary information to get started with Angular CLI, a powerful tool that streamlines the development process for Angular applications.

Getting Started

Before you dive into the details, make sure you have Node.js installed on your system. Angular CLI requires Node.js version 10 or later.

To install Angular CLI globally, run the following command in your terminal:

npm install -g @angular/cli

Once installed, you can create a new Angular project by running:

ng new my-angular-project

This command will create a new directory called my-angular-project with all the necessary files to get started.

Commands

Angular CLI provides a wide range of commands to help you develop your Angular application. Here are some of the most commonly used ones:

  • ng serve: Starts a development server and opens your application in the default web browser.
  • ng build: Generates a production build of your application.
  • ng generate <type> <name>: Generates a file for you, based on a type and a name you specify. For example, ng generate component my-component creates a new component.

Tutorials

To learn more about Angular CLI, we recommend checking out the following tutorials:

Community

If you have any questions or need help with Angular CLI, don't hesitate to reach out to the Angular community. You can join the Angular community on Stack Overflow or Reddit.

Image

[

Angular CLI
]

[

Angular CLI Logo
]