Angular Generator requirements

Official Content
This documentation is valid for:

This article lists the requirements for generating and running Angular applications in your development environment, and also running Angular applications in your production environment.

Development Environment Requirements

For Angular applications development, your development environment should include the following:

  • Node.js

Get Node.js from nodejs.org (download the LTS version). After the installation of Node.js, to check your version run the following command in a terminal/console window:

node -v

Version has to be v16.13.1 (LTS) or higher
 

  • npm package manager

For the environment setup, npm packages will be installed (automatically) using the npm client command line interface, so you must have an npm package manager. Node.js includes it by default. So, after installing Node.js, check that you have the npm client installed, by running the following command in a terminal/console window (npm version should be 7 or higher):

npm -v

 

  • Angular CLI

To install the Angular CLI using npm: open a terminal/console window and enter the following command:

npm install -g @angular/cli


Note: Node.js is only required for the development. It is not required for production.

See also How to execute an app using Angular Generator.

Production Environment requirements

The generated Angular frontend just requires an HTTP server. It can be an IIS, Apache, or even an AWS S3 bucket or any object storage service with HTTP(s) access.

See also:

Browser support

To perform best, Angular applications take the most of modern browsers.

They require browsers that support the es6-module, basically

  • Browsers on Chromium engine, like
    • Google Chrome
    • Microsoft Edge
  • Firefox
  • Safari
  • Opera

Note: Internet explorer is not supported.

FAQ

Q: Why is Node.js required for Development?
A: To fasten development cycles. The server updates the pages automatically, without the need for extra compilation times.
Look at the npm and ng commands of this page which explain more details.