Before you can start to work with Angular, you need to be set up with the tools needed to actually run the code. The foundation of everything is Node.js and Node's package manager, npm. So you should install those first if you haven't already. The easiest way to do that is to head on over to nodejs.org and download the installer for your operating system.
Once you've done that, you can go ahead and install the Angular Command Line Utility (CLI). Angular CLI makes it very easy to get up and running with an Angular project, as you'll see in short order. The following command will install Angular CLI globally on your machine:
- Once it's installed, it's time to create a project using the ng new command. ...