flutter is not recognized as an internal or external command operable program or batch file

0 votes

Hi Guys,

I have installed Flutter in my system. But I am not able to find flutter command from my command line. It is showing me the below error.

'flutter' is not recognized as an internal or external command,
operable program or batch file.

How can I solve this error?

Jul 17, 2020 in Others by akhtar
• 38,180 points
15,121 views

2 answers to this question.

0 votes

Hi@akhtar,

You need to add the path to your system environment. Because your system is not able to find the folder where you have installed Flutter in your system.

answered Jul 17, 2020 by MD
• 95,220 points
i already did that

Hi,

If you set the environment varibale successfully, then close your command line. So that it will update the changes and then try once. It will work.

I tried closing and opening it again and it worked! Thank you.
C:\src\flutter>flutter_console.bat

flutter doctor
0 votes

You have to Add flutter sdk path to Path variable. Here is the link to do it and more 

answered Aug 2, 2020 by c49

Related Questions In Others

0 votes
1 answer

How to check if array is multidimensional or not?

Since the 'second dimension' could be just ...READ MORE

answered Nov 5, 2018 in Others by DataKing99
• 8,240 points
3,044 views
+1 vote
0 answers
0 votes
0 answers

How to create a batch file in windows?

What is a batch file and How ...READ MORE

Jul 3, 2019 in Others by sindhu
162 views
0 votes
1 answer

Error: No pubspec.yaml file found.

Hi@akhtar, You need to run this command from ...READ MORE

answered Jul 20, 2020 in Others by MD
• 95,220 points
3,304 views
0 votes
1 answer

How to launch an emulators from Flutter?

Hi@akhtar, Before launching emulators you should check if ...READ MORE

answered Jul 20, 2020 in Others by MD
• 95,220 points
1,876 views
0 votes
1 answer

How to create a Map in Dart Language?

Hi@akhtar, You need to create one variable and ...READ MORE

answered Jul 23, 2020 in Others by MD
• 95,220 points
108 views
0 votes
1 answer

Error waiting for a debug connection: The log reader stopped unexpectedly

Hi@akhtar, You need to add textDirection in your ...READ MORE

answered Jul 23, 2020 in Others by MD
• 95,220 points
1,090 views
0 votes
1 answer

'git rev-parse HEAD' is not recognized as an internal or external command

Hi@akhtar, I also faced the same problem. You ...READ MORE

answered Jul 17, 2020 in Others by MD
• 95,220 points
901 views
0 votes
1 answer

What is pubspec.yaml file in Flutter?

Hi@akhtar, It is the project's configuration file that ...READ MORE

answered Jul 20, 2020 in Others by MD
• 95,220 points
909 views