[Solved] (Golang) Go is not recognized as an internal and external command Error
Feb 5, 2025
Get the full source code of application here:
Hi Join the official discord server to resolve doubts here:
https://discord.gg/cRnjhk6nzW
Visit my Online Free Media Tool Website
https://freemediatools.com/
Buy Premium Scripts and Apps Here:
https://procodestore.com/
Show More Show Less View Video Transcript
0:00
uh hello guys welcome to this video so
0:02
in this video I will show you how to fix
0:04
this error uh which comes in the
0:06
terminals as you type the go command go
0:09
if you don't know it's a go L language
0:12
so if you want to access go Lang inside
0:15
your terminal if you type this command
0:17
this error message comes go is not
0:19
recognized as an internal or external
0:21
command so this typically comes because
0:24
you haven't added the path inside your
0:26
environment variable globally so that
0:28
the terminal can access
0:30
it so I'm assuming that you have
0:33
installed
0:34
goang if you haven't just type on Google
0:37
goang download and then obviously you
0:41
need to first of all download and
0:43
install the exe file uh it is available
0:46
for Windows if you are on Windows it a
0:50
simple process here you install this by
0:53
clicking this download button and
0:57
uh so I've already downloaded this so
1:01
depending upon your system here it also
1:04
have a exe file as well so you just
1:07
click it so it's a 62 megabytes exe file
1:11
so by default whenever you install this
1:13
using this setup so you can even search
1:16
go to stop st start menu just type
1:20
go so by default it is present inside
1:24
your program files which is located in
1:27
the C directory so just go to your C
1:30
directory and go to program
1:32
files so this is your program files and
1:36
just search for this goang go folder so
1:40
this folder will exist if you have
1:42
installed goang using that exe
1:45
file and then you need to go to the bin
1:48
folder where the executable will be
1:52
present uh this is your executable so if
1:55
you try to open command line here and
1:58
type the same command you will see the
2:00
command will perfectly work because you
2:02
are there inside that directory where
2:04
the executable is present so now we need
2:07
to make sure that you copy this path
2:09
here and we need to paste this path
2:11
inside your environment variable so that
2:13
we can access colang
2:15
globally inside the system so just copy
2:18
this path and then you need to open
2:20
environment
2:22
variable and go to this and click on
2:26
that Global path here and click on the
2:30
edit button and then click on this new
2:34
button and just paste this
2:38
path so as soon as you paste this and
2:41
click on okay it will register this path
2:44
now you just need to close the terminal
2:46
restart that and again type the same
2:49
command and this time this command will
2:52
get successful so you will see that so
2:55
in this way you can fix that error
2:57
message very easily you need to globally
3:00
just uh register that path inside your
3:02
environment variable after installing
3:05
the exe file so thank you very much guys
3:08
for watching this
3:09
video and also visit my website free
3:13
mediat tools.com uh which contains
3:15
thousands of tools regarding audio video
3:18
and image and I will be seeing you guys
3:20
in the next video
#Programming
#Software
