↓Skip to main content

Angular Install: How to Install Angular CLI

·67 words·1 min
Programing Web development Angular Frontend Development
Anurag Konduru
Author
Anurag Konduru
Software Engineer (Front-End Developer/Linuxuser/Software Explorer)
Table of Contents
Learning Angular - This article is part of a series.

A brief on how to install Angular

Prerequisites:
#

  • Node.js Installed on pc
  • npm installed on pc (npm comes with Node.js on Windows and macOS)

Installation:
#

npm install -g @angular/cli

Creating a project:

ng new app-name

Running project while in Development (Local):

ng serve

Note: open the browser with localhost:4200 as 4200 is the default port for an angular project.

For more Details on Local Setup

Learning Angular - This article is part of a series.

Related

Angular roadmap: Roadmap for Learning Angular
·120 words·1 min
Programing Web development Angular Frontend Development
A road map or guide for beginners learning angular.
Hugo: Build stunning websites with minimal coding and Blazing-Fast Loading
·199 words·1 min
Programing Web development HUGO Frontend Development
Hugo is an open-source static site generator.