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,230 points
43,291 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,440 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
brilliant!! thank you
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

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

Set the path of adb into System ...READ MORE

answered Feb 16, 2022 in Others by Aditya
• 7,680 points
6,240 views
0 votes
1 answer

ERROR:'keytool' is not recognized as an internal or external command, operable program or batch file

Check if the directory and the keytool ...READ MORE

answered Feb 18, 2022 in Others by Rahul
• 9,670 points
7,883 views
0 votes
1 answer

'npm' is not recognized as internal or external command, operable program or batch file

To your existing lines of code, include ...READ MORE

answered Feb 10, 2022 in Others by Rahul
• 9,670 points
10,807 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,440 points
8,489 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,440 points
5,752 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,440 points
508 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,440 points
2,148 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,440 points
3,452 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,440 points
3,037 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP