Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
|
Nou pe simpatie: crazygirl la Simpatie.ro
 | Femeie 24 ani Buzau cauta Barbat 26 - 80 ani |
|
|
Mrrrr's Forum (VIEW ONLY)InregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
|
| pus acum 14 ore#1 |
|
|
I encountered this problem today, with errors such as:
| winget is not recognized as the name of cmdlet |
Winget CLI on github gets these:
or
503 Service Unavailable No server is available to handle this request. |
I checked that I have winget already installed and I do, but opening Powershell as admin and typing winget --version got me the missing cmdlet error. It was probably installed through App Installer which shows as "Installed" in my Microsoft Store: https://apps.microsoft.com/detail/9NBLGGH4NNS1
The problem appears to be that the following path is missing from my Environment Variables (System variables):
| %UserProfile%\AppData\Local\Microsoft\WindowsApps |
1. I am admin on this PC, so I opened Environment Varibles by searching for environ in Start - Edit environment variables.
2. Went to the Advanced tab -> Environment Variables Alternatively you can go to Start - Run - type sysdm.cpl and press Enter or Ctrl+Shift+Enter
3. In the System Variables section I looked for Path and clicked Edit.
4. Clicked New and added the exact path below:
| %UserProfile%\AppData\Local\Microsoft\WindowsApps |
5. Clicked OK 3 times to close the environment variables and system settings dialog boxes.
6. I started a fresh Powershell window as admin, and ran: winget --version and had no more cmdlet error.
I thin proceeded to install my desired program from Microsoft Store via winget with command:
| winget install --id storeID --source msstore |
Replace storeID with the ID of the app, it's shown in its link, like so:
| https://apps.microsoft.com/detail/xpfmmcmrg4tz1j?hl=en-US |
To uninstall, simply replace install with remove:
| winget remove --id storeID --source msstore |
_______________________________________

|
|
| |
|