Skip to main content

Steps for install angular on your machine

  1. Install Node Js from https://nodejs.org/en/.  after install node check installation is successful run command on CMD   node -v show the node version.
  2. Open Command Prompt Run as administrator and run command
    " npm install -g @angular/cli "
    when install angular cli shows some error and warning  ignore them.
  3.  After install the angular cli create the project in the C Drive when open command prompt run as administrator show the current path like this "C:\Windows\system32>" go to the root run "cd/" command  then enter go to the root "C:".
  4. Run command " ng new project-name "  like this "ng new angularApp " press enter.
  5.  go to our project folder "cd angularApp" press enter.
  6. run command " ng serve -o" this command run local server and shows your app on your browser http://localhost:4200.
  7. Extra command "https://github.com/angular/angular-cli/wiki"

Comments