In this tutorial, we will learn how to install Angular on a Windows machine and also learn about Node.js and NPM and some useful command which use in angular installation. If you want to learn or write code in Angular, first thing you will need to install Angular on your system windows. In this tutorial, we will see how to install Angular on in Windows step by step. Follow the some simple steps below to install Angular on windows.
1. Install Node.js
Follow the link - https://nodejs.org/en/download/ Download the node.js installer for windows and install it.
Type the node --version command to check the Node.js installation and version.
Type the npm -v command is used to check the Node.js installation and version.
2. Install TypeScript (Optional)
Open the link https://www.npmjs.com/package/typescript
Type the npm install -g typescript command and run it on command prompt.
3. Install Angular CLI (Angular command line interface)
Angular CLI is a command-line tool that enables us to add various components, directives, and services from the command line.Through CLI we are able to maintain Angular applications directly from a command shell.
Open the link https://cli.angular.io/ and follow the below instructions to install Angular CLI.
Type the command npm install -g @angular/cli on the command prompt and press enter to install Angular cli.