Monday, March 27, 2017

Install Angular 4 Pre-requisites




As Angular 4.0.0 has been official released for production ready environment on 23rd March 2017.
There are few pre-requisites which need to be installed before starting the Angular 4 application development. This article will only discuss how to install and verify the pre-requisites.
Prerequisites:
·         NodeJs version 6.9.0 and above
·         NPM version 3.0.0 and above
·         Angular CLI
·         VS Code or any other editor
How to install NodeJs and Angular CLI?
·         NodeJs download official link https://nodejs.org/en/
o   Install the latest version from the official link
o   Verify current version available in your system by node –v command in node.js command prompt

·         Angular CLI download official link https://cli.angular.io
o   Open the Node.js command prompt
o   Run the npm install –g @angular/cli command
o   Verify current version available in your system by ng –v command in node.js command prompt
Snapshot 1.0: official link and command to install Angular CLI


npm will install a lot of .js dependencies of angular cli during installation. You may find some warning messages during this process like mentioned in below snapshot but can be ignored.
Snapshot 1.1: npm warnings

Once angular cli is installed you can verify its version using ng –v command like this snapshot
Snapshot 1.2: verify angular-cli


No comments:

Post a Comment