Saturday, February 15, 2020

How to Install Angular on Windows

Step by step instructions on How to Install Angular on Windows:

1. Download Node from https://nodejs.org/en/
2. Install Node.js from the downloaded set-up.
3. Once node is downloaded, open CMD and type in node -v and npm -v.
4. Once you get the accurate versions, install Angular CLI from https://cli.angular.io/
5. Open CMD and Run npm install -g @angular/cli
6. Update Windows environment PATH variable to point to: C:\Users\\AppData\Roaming\npm\node_modules\@angular\cli\bin
7. Download Visual Studio Code
8. Create and Open folder using VS Code.
9. Open Terminal window inside VS Code and type in ng new my-new-app
10. This will provision a new Angular app.
11. Once provisioned, type-in ng serve, this will open: http://localhost:4200/
12. The default app is  a good start for Angular development.