If you face an issue like flutter is not recognized as an internal and external command then this article is for you. In this article, we are going to show how to fix the flutter is not recognized as an internal or external command error in Windows OS. The error looks like the below on Powershell:
flutter : The term 'flutter' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
If you are not able to install flutter correctly in your OS then you may face this kind of error. We can solve this issue by following methods.
Flutter is not recognized as an internal and external command Solution
Methods1: Find out the Location of Flutter SDK
You have to locate the flutter SDK folder in your files. If you don’t have the flutter SDK on your local computer then you can download flutter SDK from the official website. Our SDK location at: C:\Users\username\flutter. Now you have to edit the Environment path variable and add new path with “bin/”. Like this: C:\Users\username\flutter\bin
2. Go to My Computer Properties > Advance System Setting > Environment Variables
Go to this path and edit the path variable. Now add a new path of your Flutter SDK with “bin\” folder. Like this: C:\Users\rony\flutter\bin.
Now save the changes and restart your terminal. Then open the command box and write below :
Now you will see the output of the result:
This is how you can solve the Flutter is not recognized as an internal and external command. If you have any questions regarding Flutter is not recognized as an internal and external command on Windows OS then you can comment below.
How to Make a Flutter Quiz App