flutter doctor
doesn't work on either Command Prompt or PowerShell window? I have been trying to install flutter on windows. I have cloned the Flutter SDK as mentioned in the tutorial. I have added git and the flutter to my path. But still when I try to run the flutter doctor
the command prompt reply with this:
'where' is not recognized as an internal or external command operable program or batch file. Error: Unable to find git in your path
check the cmd image you will see exactly the problem
If the entry does not exist, create a new user variable named Path with the full path to flutter\bin as its value. to Solve Command Not Found in Flutter First, download the latest SDK from the flutter download page. Now to run flutter in the windows console you need to update your PATH environment variable.
Go to My Computer Properties > Advance System Setting > Environment Variables. In this way, you can solve 'flutter' is not recognized as an internal or external command error in Windows OS.
to run flutter from the command prompt on your windows system it requires three things
C:\Users\mahesh_2\Documents\flutter_windows_v0.11.9-beta\flutter\bin
C:\Windows\System32
Note:you need to download git from here if you dont find path in step 3
C:\Program Files\Git\git-cmd.exe
so to simply add these three paths to your environment variables go to system environment variables with variable name as Path
and value as
C:\Windows\System32;C:\Program Files\Git\git-cmd.exe;C:\Users\mahesh_2\Documents\flutter_windows_v0.11.9-beta\flutter\bin
restart the command prompt and try running flutter and Voila! you should get something like this
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With