Skip to content

Instantly share code, notes, and snippets.

@anchal20
Last active June 29, 2018 10:40
Show Gist options
  • Save anchal20/dfb0796954fc6e21d727243ff29a84dd to your computer and use it in GitHub Desktop.
Save anchal20/dfb0796954fc6e21d727243ff29a84dd to your computer and use it in GitHub Desktop.
Listing the steps to be followed to create a new angular application

This gist lists down the steps to create a new angular application

  1. Download node from https://nodejs.org/en/download/ in your system and then install, where npm gets installed automatically with node installation. After this to check if it is installed properly run node -v && npm -v in the terminal, it will tell you the node & npm version installed.

  2. Now install angular-cli globally by running npm install -g @angular/cli. The angular cli helps you to setup angular project with the bare minimum requirements so that you can onboard quickly and start with angular app development.

  3. Now go the directory where you want to build your project and run ng new <app-name> for example ng new my-app. The Angular CLI installs the necessary npm packages, creates the project files, and populates the project with a simple default app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment