Forum Discussion

Cristiano_R's avatar
Cristiano_R
Active Contributor
26 days ago
Solved

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:

     

2 Replies

  • KateG's avatar
    KateG
    GoTo Manager
    25 days ago

    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: