I was trying to run a command: flutter pub add youtube_player_flutter But it was giving me the error: "'flutter' is not recognized as the name of a cmdlet..." To fix this, we need to add it to the Environment Variables (just like what I did for node.js in the previous post!) 1) You should know where's your flutter's sdk at this point. Mine is at: C:\src\flutter\bin 2) Opened Windows Start Menu and typed "Edit the system environment variables" 3) Click on "Environment Variables" 4) At the User variables for User, click on Path. 5) Add the flutter sdk's path from (1). 6) Do the same for "System Variables". Double click on "Path" / click edit. 5) Add the flutter sdk's path from (1). 6) Restart visual studio code and then, all done! Solution found at: https://stackoverflow.com/questions/70113055/vs-code-flutter-is-not-recognized-as-the-name-of-a-cmdlet