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
.
- Open
cmd
- Enter the command
rundll32 sysdm.cpl,EditEnvironmentVariables
- Double click on
Path
and add the location of the dart binaries you installed at the bottom of the list. - Close all terminal windows and reopen.