Introduction
In this article, we are going to learn how to set up an Angular 6 application development environment in the Visual Studio code editor. We will create our first Angular 6 application.
Angular is a framework to build a client-side application.
Angular is great to develop SPAs (Single Page Application).
Why use Angular instead of some other JavaScript library? Here are some of the great features of Angular.
- Modular approach
- Re-useable code
- Development quicker and easier
- Unit testable
Prerequisites
- HTML, CSS and JavaScript
- Basic of TypeScript
Development Environment
- Node
- Npm
- Angular CLI
- Text editor- visual code
Step 1
Open a browser type https://nodejs.org/en/ download, and install node js based on your window bit.

Step 2
After installing node js, open command prompt type node –v to check installed version of node js.

Type npm –v to check npm version. If both the commands show their respective versions it means node is installed successfully.

Step 3
Open browser type https://cli.angular.io/ check command to install Angular CLI.

Step 4
Open command prompt, type command npm install –g @angular/cli. It will install CLI globally where g represents globally. To check Angular CLI installed type command ng –v

Step 5
Open command prompt type npm install –g typescript, it will install TypeScript in your system. Now type tsc –version in command prompt to check the version of typescript installed.

Step 6
Open browser, type https://code.visualstudio.com/ download, and install visual code editor.

Step 7
Create a folder, ANGULAR, on a desktop or your choice. Open visual code, click on File, select Open Folder (ctrl+O) then click on it.
Screenshot 1

After clicking on Open Folder a window will appear. Select created folder and click on Select Folder as shown in the below image.
Screenshot 2







dan buenvenidaPosted Jul 26, 2020, 8:39 PM
I'm using VS Code in Windows 7 and these steps helped me! Thanks!
pravin prajapatiPosted Mar 4, 2020, 12:00 PM
Perfect steps for beginners. thank you!!!
karthickPosted Aug 3, 2019, 1:22 AM
Thanks man
souvik settPosted Jul 4, 2019, 7:34 AM
My angular app is compiling successfully but when browser loading it shows This page isn’t working. I saw in inspect element console that it showing 400 bad request...