Angular Quickstart Guide 🚀

This guide will walk you through the initial steps to get started with Angular. Whether you're new to Angular or just looking for a refresher, this guide is for you.

Installation

Before you start, make sure you have Node.js and npm installed. You can download them from Node.js官网.

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

npm install -g @angular/cli

Creating a New Project

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

ng new my-angular-app

This will create a new directory with all the necessary files and configurations for your Angular application.

Running the Application

Navigate to your project directory and run:

ng serve

This will start a local development server and open your app in the default web browser.

Angular Logo

Next Steps