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:
- Open your web browser and go to the Node.js website.
- Download the Windows Installer (.msi) for the LTS version of Node.js.
- Run the downloaded installer and follow the installation instructions.
- 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:
- Open a command prompt and type
npm install -g @angular/cli
. - Wait for the installation to complete. Once it’s done, you can verify the installation by typing
ng --version
. - 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.
That was great bro u help me a lot iam stuck at installing angular cli u solved it thank u..
Thank you very much. It really helped me to resolve my error of installing Angular CLI