How to Install latest angular version

Its pretty much easy and here's a list of steps for a beginner:

  1. Install latest nodeJS from https://nodejs.org/en/download/
  2. Incase if nodeJS is already installed then update your npm with command "npm update" 
  3. Install the latest angular-cli on global level using command "npm install -g @angular/cli@latest", This command is also required if you already have angular-cli older version installed, it will update it to the latest version for new project. As of now Angular 8.0.3 is the latest version.
  4. Once you install the latest angular-cli then run "ng new your-project-name-goes-here" with what ever options you like. To know more about the available options list visit https://angular.io/cli/new

No comments:

Post a Comment