Some pre-requisites for setting up development environment are:
1. Install nodejs and npm
npm is a node package manager which is used to install various libraries needed for angular and related libraries. In order to install npm we need to install node.js. You can download node.js from https://nodejs.org.
You can verify the node.js and npm by running the following commands in terminal/command prompt.
To check the node version, run the following command:
node -v
To check the npm version, run the following command:
npm -v
2. Install Visual Studio Code aka VS Code
VS Code is a very light weight cross platform Code Editor which supports many languages, intellisense, debugging and lot of extensions to extend VS Code. You can work on any other Code editor of your choice as well if you want, but I would highly recommend VS Code as I have not seen any other code editor which is better than VS Code and is free. You can install VS Code from https://code.visualstudio.com/download.
3. Install Angular CLI
Angular CLI or Angular Command Line Interface is a tool which lets you generate code using some specific command in terminal or command prompt. You can install Angular CLI using npm by using the following command.
npm install -g @angular/cli
The above command would install angular cli globally i.e. it would be available in any directory. If you want to install angular cli in specific project only, then go to that folder in terminal/command prompt and run the following command.
npm install @angular/cli