Angular Rating 5 out of 5

Creating first app (Environment Setup)

Creating first app (Environment Setup) July 18, 2021

Step 1: Install NodeJS

Step 2: Install Angular. 

npm install -g @angular/cli

Step 3: Create new app. I have created an app named my-app. You can use any app name. Get into your app directory. During creation it asks for Router and Styles. If you don't know about router select N for now. For styles, if you don't know about SCSS, SASS or LESS, use CSS.

ng new my-app
cd my-app

Step 4: Serve your app. Your app will be served at localhost:4200. If port 4200 is busy, Allow angular to use another port.

ng serve

 


Rate this post

Comments