upload multipart file in angular

Install Angular on Windows

Angular is the JavaScript framework developed and maintained by Google. It is used to develop web applications. In this post, we will learn to install Angular on Windows.

Here we will learn about how to set up a local development environment in your machine. There are certain things that you need to follow before getting started with angular.

Install and Verify the Angular version

To install Angular, first, we need to install NodeJs.

You can follow the below steps one by one to get started:

  1. Download and Install Node.js
  2. By running the command execute the below command to check the node and npm version
    • For node: node -v and
    • For npm: npm -v
  3. Install the Angular CLI globally on your system by running:
    npm install -g @angular/cli
  4. When the installation is successful then check the version by executing
    ng --version or ng v

Congratulation! you have successfully installed Angular on your Windows machine.

Now create your first Angular project

  1. Create project: ng new projectName
  2. Install packages: npm install
  3. Start angular application: ng serve or ng s
  4. Click: http://localhost:4200

You may see your first Angular application running.

Conclusion

In this post, we learned to install Angular on a Windows machine and also learned to create the first project in angular.


Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments