-
Home
-
Blogs
-
How-to-install-angular-js -
How to install angular js
By Deepak Sharma | Sep, 02 2019 07:35

Angular JS
Hello friend, today in this tutorial we talk about Angular JS and hwo to install it on windows. In easy and simply way helpful for learner"s.
We are going to install Angular JS 8.2, before going to install it, let be know about angular js and why we need it.
AngularJS is a JavaScript framework.
Angular is an open-source, front-end web application development framework, it is TypeScript-based and led by the Angular Team at Google and by a community of individuals and corporations.
In this document, we will cover installation procedure of angular on windows 10 operating system.
Prerequisites
System requirements
- Windows 10 OS
- 4 GB RAM
- 10 GB free space
Installation Procedure
- To install angular cli we need nodejs and npm. First let’ us understand what is nodejsare and why we need them. Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser. Node.js lets developers use JavaScript to develop wide variety of applications like network applications, command line tools, web api, web applications. You need nodejs for dev tooling (like local web server with live reloading features) and dev experience, you do not need nodejs to run react in production.
-
Firstly download nodejs, you can dowload from https://nodejs.org/en/download/?utm_source=myinboxhub.co.in. Click on windows Installer to download the latest version.
-
Now its a time to test you node js. Open cmd or command prompt and type node -v. As show in image below.
-
Now install angual cli , just type npm install -g @angular/cli , show in image below.
-
It take Some time to install.
-
Now its time to check your angular js install successfully or not. just type ng version in cmd, show as in image below.
-
Now its a time to run your first angular js project. now type ng new first-project here first-project is your project name you can change as per your requirment.
-
After that press Y then enter for routeing. Then select css using arrow keys then press enter. It take some time to create successfully.
-
Now its time to run you first angular js project. Firstly goto firsr-project directory by typing cd first-project , then type ng serve -o to run you project as show in image.
-
Now your project run successfully.
-
I hope you like to read this tutorial blog, video on this tutorial is available soon on https://www.youtube.com/c/YogendraTomar so do not forget to subscribe for latest video tutorials.
0 comments