Skip to main content

Posts

Showing posts with the label How to install angular

How setup or install angular?

Before creating our first Angular app, first, we’ll see how to install Angular on a Windows system. Step 1 - Install NodeJS Follow the link -  https://nodejs.org/en/download/ Download the node.js installer for Windows and install it. To check the installed version of Node.js, open the command prompt. Type the  “npm -v”  command to check the Node.js installation and version.   Step 2 - Install TypeScript Open the link  https://www.npmjs.com/package/typescript   Copy the above command  “npm install -g typescript”  and run it on command prompt. Step 3 - Install Angular CLI (Angular command line interface) Open the link  https://cli.angular.io/  and follow the instructions to install Angular CLI and to create your first  Angular app.   Type the command “npm install -g @angular/cli” on the command prompt and press enter to install Angular cli. Type “ng new hello-world” and hit enter to create the Hello World app. Once you see t...