[Fixed] Flutter is not recognized as name of cmdlet, check spelling or path
![[Fixed] Flutter is not recognized as name of cmdlet, check spelling or path undefined / spelling,path,function,cmdlet,name,recognized,fixed,error,flutter,command line error, launch flutter failed](https://semicolon.dev/static/how-to-fix-flutter-is-not-recognized-as-cmdlet-function-check-spelling-path-error.png)
How to fix: 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.
You're learning how to run Flutter on command line but get this error.
You probably already do, but make sure you actually installed Flutter SDK from its official site and unzipped flutter SDK into a folder like c:\flutter.
To run a new or existing Flutter app, execute the following command in Terminal:
flutter run
Or:
flutter doctor
However, you receive the command line error:
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.
Usually this means your flutter SDK is misconfigured in some way. But the solution is easy. If flutter command isn't recognized, chances are you have not added it to your PATH environment variable:

flutter is not recognized because you haven't added path to flutter.exe file to your system's environment variables
Important: You may have added c:\flutter to PATH instead of c:\flutter\bin.
Adding c:\flutter\bin (don't forget to add \bin) is what allows flutter command to be executed from anywhere on your system, not just the folder where flutter SDK was installed. This is a common issue with many programs in Windows, not just flutter.
This happens for at least two reasons:
- Flutter SDK is not installed.
- Flutter SDK path missing from PATH variable in Environment Variables.
- You added c:\flutter to PATH instead of c:\flutter\bin, which is where the actual flutter.exe is found on your system.
- Did not run flutter doctor command and fixed shown errors.