Install the Angular CLI
Angular CLI is use to create projects, generate application and library code, and perform a variety of ongoing development tasks such as testing, bundling, and deployment.
To install the Angular CLI, open a terminal window and run the following command:
npm install -g @angular/cli
Create an initial starter application
Run the CLI command ng new
and provide the name of the project and --routing
attribute to create application routing module, called AppRoutingModule for common routing tasks.
ng new budgetarian-app --routing
Run the application
Go to the folder and run ng serve
cd budgetarian-app
ng serve
ng serve
command will build the app and starts the development server
Open browser on http://localhost:4200/
Top comments (0)