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.
Read moreWhat is not recognized as the name of a cmdlet Visual Studio code?
If you see the error “The term ‘cl.exe’ is not recognized as the name of a cmdlet, function, script file, or operable program.”, this usually means you are running VS Code outside of a Developer Command Prompt for Visual Studio and VS Code doesn’t know the path to the cl.exe compiler .
Read moreHow do you initialize a Flutter in VS Code?
Getting started
Read more