top of page
  • Writer's pictureCristian Duque

How To Install Angular on Windows

Updated: Aug 13, 2023

According to the Angular documentation, the following steps are needed:

1. Install Node.js

Node.js is a JRE (Javascript Runtime Environment) that loads all the Angular JS-related files on a web server.

Choose and download an LTS version from Node.js (

Run node -v to check the version and verify the correct installation.

2. Verify npm installation

An npm client is added by default when you install node.js.

"The Angular Framework, Angular CLI, and components used by Angular applications are packaged as npm packages and distributed using the npm registry." Angular - Workspace npm dependencies

Run npm -v to validate the npm client installation.

3. Install the Angular CLI

Using a command-line interface, the Angular CLI is a powerful tool for scaffolding and building angular applications.

Run the following command npm install -g @angular/cli on a terminal window to install Angular CLI globally.

Run ng -v to check the Angular CLI version installed.

4. Create a new Angular application

Use the ng new Angular CLI command and assign a default name my-app.

Run ng new my-app, and then select the defaults by pressing Enter or Return Key.

The Angular CLI adds the required dependencies and sets up a new workspace.

5. Run the application

Navigate to the new workspace folder running cd my-app.

Run ng serve -o to launch a sample Angular application on the browser.

The ng serve command is used to build and launch the application on the server. If any file changes occur, it will be reloaded automatically.

The -o flag opens the local server on your browser.

Awesome! You have successfully installed Angular on Windows.

Optional step: Run Angular Commands from Powershell

To enable the execution of PowerShell scripts on Windows that are required for npm global binaries, run the following command:

Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned

Try an npm command on a new Powershell bash!

Check out my video:


Recent Posts

See All


bottom of page