Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'flutter' is not recognized as an internal or external command

I think I added the path to environment variables and I restarted my PC too, but the "flutter" cmd is not working. Please help me out. I am using windows 10(64 bit) and getting the error

'flutter' is not recognized as an internal or external command

like image 341
Keerthi Chandrika Avatar asked Dec 05 '18 16:12

Keerthi Chandrika


People also ask

How do you fix flutter is not recognized as an internal or external command?

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.

Why is flutter command not found Windows?

If the entry does not exist, create a new user variable named Path with the full path to flutter\bin as its value. to Solve Command Not Found in Flutter First, download the latest SDK from the flutter download page. Now to run flutter in the windows console you need to update your PATH environment variable.

Where is not recognized as an internal or external command?

You can resolve this issue in three ways: First, use the full path of the executable file to launch the program. Second, add the program path to Windows environment variables. Finally, move the files to the System32 folder.

How do I add a flutter path in Windows?

First, click the Start button and type to search for and then click on Edit environment variables for your account. Under User variables, click on and highlight Path. Click Edit. On the next screen, click New and add the full path to your flutter\bin directory.


1 Answers

To use the flutter commands in any IDE in windows you need to add the flutter SDK to the windows environements. To do so just follow the simple steps below:

  1. Right click on the computer icon in desktop (make sure its not a shortcut) and select properties.

enter image description here

On the left side of the new opened window click on Advanced system settings.enter image description here

  1. Now in the system properties window that opens select Environment Variables.enter image description here

  2. In the new window double click on path to open a new window.

enter image description here

  1. In the new window opened click on New and paste the path of the bin folder located in the flutter sdk folder. For example my path is this: D:\FlutterSDK\flutter\bin

Note: It doesn't matter where you want to place the flutter SDK, just copy and paste the path of the bin folder here.

enter image description here

  1. Click OK, OK, OK.

Now you're all set. Try restarting the IDE or even better restart the PC.

like image 127
Taba Avatar answered Sep 18 '22 21:09

Taba