I added the route to the bin to the PATH but CMD still doesn't recognize it. I have Windows 10. echo %PATH%; where the bin is located;
I tried to write flutter commands in CMD, but it gave "'flutter' is not recognized as an internal or external command" feedback
CodePudding user response:
hi I think this link will help https://www.fluttercampus.com/guide/200/flutter-is-not-recognized-as-an-internal-or-external-command/ try reinstalling flutter too and then run this command => flutter doctor and I suggest using git-bash instead of cmd
CodePudding user response:
- Go to properties by right clicking computer icon.
- click on Advanced system settings. (left side of the window)
- opens Environment Variables
- double click on path
- Click on New and paste the path of the bin folder located in the flutter sdk folder.
example :
C:\src\flutter\bin
- Click OK OK and OK
- Restart your pc (Recommend)