I have set the "portablePackageUserRoot", but winget still install on default root under user scope #2485
Replies: 2 comments
-
There's also |
Beta Was this translation helpful? Give feedback.
-
It's so weird. I hope the installation will installed on the protableuserRoot based on my settings by specifying |
Beta Was this translation helpful? Give feedback.
-
Brief description of your issue
I set
"portablePackageUserRoot": "%LOCALAPPDATA%/WingetPackages"
. Then I use command :winget install --id Fndroid.ClashForWindows --scope user --source winget
. The protablePagageUserRoot settings didn't affect. It still installed under%LOCALAPPDATA%/Programs
. I must specify --location everytime when I install packages.The
protablePackageMachineRoot
didn't work as well. What did I miss?Steps to reproduce
winget settings
set
"portablePackageUserRoot": "%LOCALAPPDATA%/WingetPackages"
winget install --id Fndroid.ClashForWindows --scope user --source winget
Expected behavior
The program will install under
"%LOCALAPPDATA%/WingetPackages"
Actual behavior
The program install under "%LOCALAPPDATA%\Programs"
Environment
Beta Was this translation helpful? Give feedback.
All reactions