Angular Installation Guide: Install Angular On Windows
Angular Installation Guide: Install Angular On Windows
Angular bases its build environments on Node.js, and many of its features depend
on NMP packages. Conveniently, the Node Package Manager (NPM) client is part of the
default Node.js package.
To install Node.js:
1. Visit the official Node.js page and download the latest Node.js Windows Installer.
2. Access the download location and double-click the Windows Installer Package.
Angular Installation Guide
5. Define the destination folder for the installation and select Next.
6. You can customize how to install available features. Make sure that the npm
package manager is part of the installation bundle. Click Next to proceed.
Angular Installation Guide
7. Check the box if you would like to install tools for compiling native modules
automatically. They are not mandatory and require an additional 3 GB of space.
Select Next to continue.
9. Once the installation is complete, select Finish to exit the Setup Wizard.
10. Access the Windows Command Prompt (or PowerShell) and check the Node.js version:
node -v
If you need to install a specific version, or update an existing installation, read the detailed
guide on how to install Node.js and NPM on Windows.
1.. Access the Windows Command Prompt and install TypeScript with the following
command:
npm install -g typescript
The Angular command-line interface (CLI) tool allows you to initialize, develop, and manage
your Angular applications. You can use the NPM package manager to install the Angular CLI.
1. Access the Windows Command Prompt and enter the following command:
npm install -g @angular/cli
During the installation process, the system asks you if you would like to share usage data
with the Angular Team. You are free to answer either Yes or No as it does not affect
functionality.
Angular Installation Guide
2. Once all packages have been added, verify the installed version:
ng --version