Preloader
Others
  • Estimated reading time: 1 Minute

How to solve cmd or node.js command prompt issue in windows : git is not installed or not in the PATH

This issue happens when you doesn't have a Git windows distribution in your sistem, or you didn't installed correctly.

For example, if you are executing a bower install command, which uses git to clone a registered repository :

bower install --save jquery

you'll get a clear error :

Running "bower:install" jquery

Fatal error : git is not installed or not in the PATH

Solution

Download a git distribution for windows (the latest version). You'll be able to download it in the official git homepage here, then continue with the installation.

Be careful with the following installation step :

Git setup windows issue

You need to select the 2nd option in the path environment part. Otherwise you'll be not able to use git from command prompts.

If everything went right through the installation, now you can use git as a environment variable on the windows command prompt (or Node.js command prompt).

Note: Remember to close any opened command prompt before the installation. Then open a cmd.exe and git will be available.

Share:
Carlos Delgado

Carlos Delgado

Senior Software Engineer at Corvix. Interested in programming since he was 14 years old, Carlos is a self-taught programmer and founder and author of most of the articles at Our Code World.

Related articles
Photometric Light Study: How to Plan the Right LED Lighting Layout
19 Oct, 2026
  • Estimated reading time: 6 Minutes
How to Build a Desk Setup That Works for Both Coding and Gaming
19 Oct, 2026
  • Estimated reading time: 7 Minutes
Your AI Video API Returned 200. Check the File Anyway
19 Oct, 2026
  • Estimated reading time: 5 Minutes
Best IPTV Service 2027: Top IPTV Providers Compared
19 Oct, 2026
  • Estimated reading time: 6 Minutes
How to Transfer Data from Old iPhone to iPhone Duo: 4 Ways
19 Oct, 2026
  • Estimated reading time: 4 Minutes
PRWeb Alternatives: 7 Press Release Services Worth Considering
19 Oct, 2026
  • Estimated reading time: 6 Minutes
Weekly trending
Photometric Light Study: How to Plan the Right LED Lighting Layout
19 Oct, 2026
  • Estimated reading time: 6 Minutes
How to Build a Desk Setup That Works for Both Coding and Gaming
19 Oct, 2026
  • Estimated reading time: 7 Minutes
Your AI Video API Returned 200. Check the File Anyway
19 Oct, 2026
  • Estimated reading time: 5 Minutes
Best IPTV Service 2027: Top IPTV Providers Compared
19 Oct, 2026
  • Estimated reading time: 6 Minutes
How to Transfer Data from Old iPhone to iPhone Duo: 4 Ways
19 Oct, 2026
  • Estimated reading time: 4 Minutes
Our Sponsors

Our blog is proudly supported by industry-leading sponsors.