How to Fix winget is not recognized as an internal and external Command Error in Terminal
2K 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:02
in this video I will show you how to fix
0:04
this error message if you type
0:07
winget in the terminal and if you get
0:09
this error message winget is not
0:11
recognized as an internal or external
0:14
command winget is actually a Windows
0:16
package manager where you can manage
0:19
your applications you can remove them
0:21
add them download them so it's an open
0:25
source Windows package
0:27
manager so I'm assuming that you have on
0:30
to this
0:32
winget so there is this exe file
0:36
available so simply first of all
0:38
download this if you haven't downloaded
0:41
this so after downloading it if you want
0:45
to get uh set the path if you can't
0:48
access it inside your terminal just make
0:50
sure that you type this command where
0:54
winget it will tell exactly the location
0:57
where winget is installed on your
0:58
machine and it will tell you could not
1:03
find files so by
1:06
default it is located in the C
1:10
directory and then if you go to the
1:12
users
1:16
directory so whatever is your username
1:19
mine is Asus so I will simply go to this
1:22
and after this I will simply go to the
1:26
app data folder
1:32
inside this folder you need to go to
1:35
local inside this you will search
1:40
for the folder called
1:43
as I think it's not local it is
1:46
roaming yeah so after this search for
1:50
the folder which
1:58
is uh let let me take help from chat GPT
2:07
uh yeah so sorry app data local and
2:12
after that local folder you need to go
2:14
to the local folder right here and after
2:18
this you need to search for the folder
2:21
Microsoft so there will be a folder
2:23
called as
2:24
Microsoft inside this folder we have the
2:28
folder Windows app
2:31
this is a folder Windows apps need to go
2:34
to this folder and then you need to
2:37
search for the folder Microsoft desktop
2:42
installer so this is actually the folder
2:46
microsoft. desktop app installer go into
2:49
this folder and you will find this
2:51
winget executable present right here so
2:55
simply you need to copy this whole path
3:01
right click copy and then you need to go
3:04
to environment
3:06
variable and simply select your system
3:10
variable and then select the
3:14
path and just click new and just paste
3:18
this whole
3:20
path so just restart the
3:23
terminal again type the same command
3:26
here wiet
3:30
you will see the command will be
3:31
successful this is a Windows package
3:34
manager so just make this step by step
3:37
change just add the path to the
3:39
environment variable now you can access
3:42
it inside your
3:44
terminal so in this way you can fix this
3:46
error message uh thank you very much for
3:49
watching this video also check out my
3:51
website free mediat tools.com which
3:54
contains thousands of tools
#Operating Systems
#Software