Prerequisites
Node.js
Node.js installation instructions may be found at nodejs.org. If you’re not sure what version of Node.js is installed on your system, type node -v into a terminal window.
node -V
npm package manager
Angular, the Angular CLI, and Angular applications depend on npm packages for many features and functions. To download and install npm packages, you need an npm package manager which is installed with Node.js
by default.
To check that you have the npm client installed, run npm -v
in a terminal window.
npm -v
Install the Angular CLI
Step 1: Open your terminal window
Step 2: Type and run the following command
npm install -g @angular/cli
This will install angular cli globally so that you can use it from any directory
To check that you have the angular installed, run ng version
in a terminal window. If your installation was successful, you should see version details in a terminal.
Wonderful, our environment setup is now complete!