Before you install and start using or customizing your application, you must set up your environment for Angular development using the Angular CLI tool. This topic includes information about minimum system requirements and configuring the environment variables.

Command prompt must be run as administrator for all command line operations.

  • Node JS v16.18.1 or higher: Install Node JS from the official Node website. For windows, download Windows installer .msi 64-bit.
  • Angular CLI until version 13.0.0:
    • To check if already installed, use the command: ng -v
    • If not installed, use the command: npm install -g @angular/cli
  • Windows Build Tools. Install python gyp using the command: npm install --global --production windows-build-tools
  • Visual Studio Code

Environment Variables

When NodeJs is installed, it is necessary that they are accessible globally using the command prompt. Sometimes the environment variables are not configured and you may see errors stating 'node' is not recognized as an internal or external command. You must configure the environment variables on your local system.

To configure environment variables

  1. Go to This PC > System Properties > Advanced System Settings.
  2. Click Environment Variables

  3. Add the necessary paths into the User Variable.