Cristiano_R
26 days agoActive Contributor
I can't launch the winget command
Hello,
if I run >_ Terminal, I can't launch the winget command, it doesn't seem to exist, can someone tell me if it's a limitation or a problem of mine?
Thanks in advance, regards Cristiano
Hi Cristiano_R, nice seeing you.
By default, LocalSystem— which is what Terminal uses— doesn’t know where winget.exe is because it isn’t installed globally.
You can manually locate it and store winget.exe in a variable. This is the code provided to me by a colleague:
What it actually looks like in Terminal: