How to fix dart is not recognized as an internal and external Command Error in Terminal
26 views
Jun 7, 2025
Buy the full source code of application here:
View Video Transcript
0:00
uh hello guys welcome to this video so
0:03
if you can't access Dart from your
0:05
terminal if you're getting this error
0:07
message Dart is not recognized as an
0:09
internal or external command then uh
0:13
potentially you haven't added the
0:15
location of your Flutter in the
0:17
environment variable so that comes with
0:20
Flutter that is a programming language
0:22
if you don't know
0:24
so you should definitely first of all
0:28
download
0:29
Flutter so Flutter comes with Dart i've
0:33
already installed it but still I'm
0:34
getting this error so by default Flutter
0:38
is stored in the C
0:40
directory program
0:43
files and then search for the folder
0:46
Flutter so you will see the folder is
0:49
present and go to the bin
0:52
folder and here you will see dot is
0:55
present we also flutter is also
0:59
present so if you try to open terminal
1:02
here type the same command
1:04
dot you will see the dot command will
1:07
perfectly work command line utility for
1:10
that development you will see you just
1:12
need to make sure you copy this location
1:14
right click copy and just open
1:16
environment
1:18
variable and just go to the environment
1:20
variable and just go to the system
1:23
variable go to path edit add a new
1:29
entry just add this entry to the
1:31
environment variable just click now okay
1:34
okay okay and just restart the terminal
1:37
and just type the same command
1:41
dot so you will see the Dart SDK will
1:44
print out in this easy way you can fix
1:47
this error message to use Dart from your
1:50
terminal and thank you very much for
1:52
watching this video also check out my
1:55
website freemediatools.com
1:58
uh which contains thousands of tools
#Programming