2

Env Detail: Angular CLI: 6.1.3 Node: 8.11.3 npm version: 5.6.0

When I am trying to create an Angular project by executing ng new Project-name I am getting

'git' is not recognized as an internal or external command, operable program or batch file.

instead of 'project name successfully created'

command prompt

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
Faiyaz Sayeed
  • 21
  • 1
  • 1
  • 3

1 Answers1

2
  1. Check whether GIT is installed on your system. If not installed then install Git by downloading from below URL and install

https://git-scm.com/

  1. Close your command prompt or visual studio code or any editor you are using and reopen it.
  2. Create new angular application and it will work as expected.