Setup Development Environment

Please install the below 2 softwares.

1. Node Package Manager (NPM) installation (prerequisite).
2. Angular CLI installation.

Node Package Manager (NPM) installation (prerequisite)

Angular requires Node.js in your system. If you already have it, you can skip this part.Node has the Node Package Manager (NPM), which we need for installing Angular CLI and other programs (packages). You can download NPM from here. After the installation is completed, go to your Terminal or Windows Command Prompt and type node -v to check which version is installed.


Angular CLI installation

After you’ve installed NPM, you can install Angular CLI as the 2nd step. Open your terminal or command prompt and type the command below:

npm install -g @angular/cli

The Angular CLI is a command-line interface tool that you use to initialize, develop, scaffold, and maintain Angular applications. You can use the tool directly in a command shell, or indirectly through an interactive UI such as Angular Console. -g is the global install flag.



Node and NodeJS are the same thing, node is just a shorter way to say Node JS. ... nvm (Node version manager) is a command line interface (CLI) to install different versions of nodejs in your machine. Whereas npm (node package manager) is a CLI for managing your node modules (e.g. Creating a package, etc).


0 comments: