Installation

There are set of libraries that you need to setup your project.

Node.js

Download Node.js from official website and install on your system. NPM comes bundled with Node.js.

Angular Cli

Install angular-cli by executing following command on your terminal or command prompt

npm install -g @angular/cli

For more details visit:

Install Npm Packages

In terminal go to your project root directory and run the following command. It will download all the dependencies under node_modules folder.

npm install

After completing the installation of the npm packages, run the following command:

npm start

You can check your app at default local server port, which is http://localhost:4200/ . You can also change your local server port with the following command:

ng serve --port 4401   

Last updated