Search code examples
flutterflutter-doctor

As soon as I open the Flutter doc file the command prompt opens only for a second and then it get closed immediately


I tried opening the Flutter doc file after installing it on Windows 8.1 Pro. I have only tried double-clicking (left mouse) on the file.


Solution

  • I don't think it is supposed to run flutter doctor the way you are trying.

    Usually you open the directoy of your flutter project in the terminal and execute flutter doctor.

    Please read the documentation for further information: https://docs.flutter.dev/get-started/install/windows#run-flutter-doctor