Angular Environment Setup

Angular Environment Setup

Before you could write your Angular code, you need various software tools installed in your machine.


Angular Environment Setup



Software tools required for your Angular app development 

1. Install Node js 
    
Why Node? Node js provides a lightweight webserver to host your application locally during the development. Node js is not required to write any code in Angular but it provides us an environment.

Download the installer for your operating system from the official node website: https://nodejs.org 


2. The Node package manager  (Npm)

The Node package manager comes inbuilt with the NodeJs, you don't need to download it separately. The Npm helps you to manage/download your project dependencies. It helps you to add, remove, or update any dependency in your Angular Project.



3. An IDE for writing your code

  There are many IDEs available to develop Angular apps. To name a few, Visual Studio Code, Atom, Sublime Text, Web Storm, Visual Studio, and many more.
 
We will use the Visual Studio Code which is free, the lightweight, and has a user-friendly user interface. 



4. Angular CLI

It is a command-line tool for creating angular apps. You can create an angular app manually but angular CLI automates the process and saves you a lot of time. It is also a recommended way to create an Angular application.



5. TypeScript

Angular recommends using TypeScript for writing Angular apps. TypeScript is a superset of JavaScript. But the browsers do not understand the TypeScript code, so it needs to be transiled to Javascript before rendering to the browser.



Post a Comment

0 Comments