"'git' is not recognized as an internal or external command, operable program or batch file."
10,378
- Check whether GIT is installed on your system. If not installed then install Git by downloading from below URL and install
- Close your command prompt or visual studio code or any editor you are using and reopen it.
- Create new angular application and it will work as expected.
Author by
Faiyaz Sayeed
Updated on June 16, 2022Comments
-
Faiyaz Sayeed almost 2 years
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'
-
DeborahK over 5 yearsHave you seen this: github.com/nodejs/help/issues/786
-
Faiyaz Sayeed over 5 yearshow to add Git to PATH environment variable?Can u help me pls?@jonrsharpe
-
Mustafa over 5 years@FaiyazSayeed try uninstalling Git and reinstalling it. I recall it had an option in the installation process to add it to PATH.
-
Jayendran over 5 years@FaiyazSayeed try chambaud.com/2013/07/08/…
-
Faiyaz Sayeed over 5 yearsthanks all,issue is resolved
-
-
Erik Philips over 2 yearsWhy would GIT be required to create a new app?