US Office

1176 Shadeville Rd, Crawfordville Florida 32327, USA

 +1 (850) 780-1313

India Office

Office No 405, Kabir Shilp, Opp. Kansar Hotel, Opp. Landmark, Kudasan, Gandhinagar, Gujarat 382421

[email protected]

How to Solve “Unable to find git in your PATH” On Flutter?

How to Solve “Unable to find git in your PATH” On Flutter

How to Solve “Unable to find git in your PATH” On Flutter?

Git is a free and open-source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. So in this article, we will go through how to solve “Unable to find git in your PATH” On Flutter.

How to Solve “Unable to Find Git in Your PATH ” On Flutter ??

User need to install Git using the below command line

sudo apt-get install git

User can also add

C:\Program Files\Git\bin\git.exe;C:\Program Files\Git\cmd;C:\Windows\System32

to your PATH variable

Do not create a new variable for git but add them as I did one after another separating them by.

If you are windows, 10 users. we’ve tried everything but running cmd as Administrator solved my problem. This may be helpful for others.

  • You can also try by uninstalling and reinstall GIT to solve my problem.

You can download 64-bit GIT for windows setup: https://git-scm.com/download/win

FOR WINDOWS: If you chose visual studio code during git installation and have multiple user accounts on windows then all you need to do is uninstall git and reinstall git choosing vim as the default editor, not visual studio code.

You also get a warning when choosing visual studio code during git installation.

Pay attention to that, For me setting visual studio code as default and having multiple User accounts was the issue.

Conclusion:

So in this article, we have walked through how to solve “Unable to find git in your PATH” on flutter.

Keep Learning !!! Keep Fluttering !!!

Now I’d like to hear from you!!

Which Strategy from today’s post did you try first??

or maybe I didn’t mention some other ways possible.

Either way, Let me know in the comments right below 🙂

FlutterAgency.com is our portal Platform dedicated to Flutter Technology and Flutter Developers. The portal is full of cool resources from Flutter like Flutter Widget GuideFlutter ProjectsCode libs and etc.

FlutterAgency.com is one of the most popular online portals dedicated to Flutter Technology and daily thousands of unique visitors come to this portal to enhance their knowledge of Flutter.

Comments
  • June 4, 2021

    Fantastic article ! You havemade some very astute statements and I appreciate the the effort you have put into your writing. Its clear that you know what you are writing about. I am excited to read more of your sites content.

    reply
  • June 9, 2021
    kev

    This is very useful

    reply
  • December 29, 2021

    Blog Nice Very Very Good

    reply
Post a Comment