Home > Software design >  Dart commands not running in windows 11. What do I do to make it run?
Dart commands not running in windows 11. What do I do to make it run?

Time:09-16

Dart command is not running on Windows 11, what should I do?

Dart is not a recognized internal or external command, batch file

CodePudding user response:

Add the path of the bin folder of the Dart SDK to the PATH environment variable of the current user (Windows key S, type environment).

CodePudding user response:

This happens if dart is not in your PATH.

  1. Open cmd
  2. Enter the command rundll32 sysdm.cpl,EditEnvironmentVariables
  3. Double click on Path and add the location of the dart binaries you installed at the bottom of the list.
  4. Close all terminal windows and reopen.
  •  Tags:  
  • dart
  • Related