[Solved] Chocolatey (choco) 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 which comes if you type choco
0:07
inside your terminal choco is Shand for
0:10
chocolatey which is a client for
0:13
downloading something from the internet
0:16
so so if this error comes right here
0:19
while running chocolatey inside terminal
0:22
so majority of the times you haven't
0:24
configured the path inside your
0:26
environment variable so I'm assuming
0:29
that you have install
0:33
choco so it's a package manager for
0:37
Windows operating system
0:40
so so you just need to download this so
0:44
it's actually if you want to download
0:46
this there is a command which you can
0:50
run so on their dogs they have told you
0:55
installing chocolate so you need to go
0:57
to the Powershell so you need need to
1:00
execute this command here so they have
1:02
given this command on their website so
1:04
just simply open the
1:08
Powershell Windows Powershell and then
1:11
execute this command so just type this
1:14
command and the download will start so
1:17
as soon as you download this if you just
1:19
type here
1:22
chocol so this will come right
1:25
here so by default it is Shand it is
1:30
choco if you just write choco you'll see
1:32
it will come and then right click open
1:35
file location and by default it is
1:38
present inside the C directory and then
1:40
program data chocol bin you can even go
1:44
to this directly go to the C and then go
1:48
to this folder program
1:52
data and then search for
1:56
chocity
1:58
so then you need to go to the bin
2:00
directory and then this is actually the
2:02
exe file which is there so you just need
2:05
to add this path in the environment
2:07
variable so right click copy this path
2:10
and now open your environment variable
2:13
and uh just add this inside your system
2:16
path so this is your path here simply
2:20
select this click the edit button and
2:23
now click a new entry and simply paste
2:26
this
2:27
path so as soon as you p P this path now
2:31
you will be able to use chocol from the
2:33
terminal so just restart the terminal
2:36
and uh again reopen it and type the same
2:40
command
2:42
choco and let me print out the version
2:45
that we are using which is
2:46
2.2.2 so in this way now the command is
2:50
perfectly working in the terminal so in
2:52
this way you can run the choco command
2:54
without any kind of error first of all
2:57
download This by executing command in
2:59
Powershell and then registering this
3:02
path inside your environment
3:04
variable so thank you very much for
3:07
watching this video and also check out
3:09
my website as well free mediat tools.com
3:12
uh which contains thousands of tools
3:14
regarding audio video and MH and I will
3:18
be seeing you guys in the next video
#Software
#Internet & Telecom
