Create new angular project cli

To create a new Angular project using the Angular CLI, follow these steps:

Step 1: Install the Angular CLI

If you haven't already, install the Angular CLI globally on your system using npm or yarn:

npm install -g @angular/cli

or

yarn global add @angular/cli

Step 2: Create a new project

Open a terminal or command prompt and navigate to the directory where you want to create your new project. Then, run the following command:

ng new my-new-project

Replace my-new-project with the name of your project.

Step 3: Choose the project template

The Angular CLI will prompt you to choose a project template. You can choose from the following options:

Choose the template that best fits your needs, or select blank if you want to start from scratch.

Step 4: Configure the project

The Angular CLI will ask you to configure your project. You'll be prompted to choose the following:

Choose the options that best fit your needs.

Step 5: Create the project

Once you've configured your project, the Angular CLI will create the project structure and install the necessary dependencies.

Step 6: Start the project

To start the project, navigate to the project directory and run the following command:

ng serve

This will start the development server and open your project in your default web browser.

That's it! You now have a new Angular project created using the Angular CLI.