,

Installing Angular CLI and Node.js on Windows 10 or 11 using npm

Posted by

How to install Angular CLI and Node.js on Windows 10 or 11

How to install Angular CLI and Node.js on Windows 10 or 11

If you’re looking to develop web applications with Angular, you’ll need to install Angular CLI and Node.js on your Windows 10 or 11 machine. Here’s a step-by-step guide on how to do it.

Installing Node.js

Before you can install Angular CLI, you need to have Node.js installed on your machine. Here’s how to do it:

  1. Open your web browser and go to the Node.js website.
  2. Download the Windows Installer (.msi) for the LTS version of Node.js.
  3. Run the downloaded installer and follow the installation instructions.
  4. Once Node.js is installed, open a command prompt and type node -v to verify that Node.js has been installed correctly.

Installing Angular CLI

After installing Node.js, you can proceed to install Angular CLI using npm, which is the Node.js package manager. Here’s how to do it:

  1. Open a command prompt and type npm install -g @angular/cli.
  2. Wait for the installation to complete. Once it’s done, you can verify the installation by typing ng --version.
  3. If Angular CLI has been installed successfully, you should see the version number displayed in the command prompt.

With Angular CLI and Node.js installed, you’re now ready to start developing web applications using Angular on your Windows 10 or 11 machine.

0 0 votes
Article Rating
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
@badboyraju4692
9 months ago

That was great bro u help me a lot iam stuck at installing angular cli u solved it thank u..

@lrschannel7110
9 months ago

Thank you very much. It really helped me to resolve my error of installing Angular CLI