How to solve "Unable to find git in your PATH" on Flutter?

Nikolay Shindarov picture Nikolay Shindarov · Jul 10, 2018 · Viewed 33.6k times · Source

I've just tried to install Flutter on Linux and when I try to run a flutter command (flutter doctor), I'm getting

Error: Unable to find git in your PATH.

Anyone who knows how to solve this?

Answer

Marlon Abeykoon picture Marlon Abeykoon · Jul 10, 2018

Install it using following command.

sudo apt-get install git