Open yuanj82 opened 4 months ago
.\install.ps1 RunAsAdmin -ScoopDir 'C:\Scoop' -ScoopGlobalDir 'C:\Scoop' -Proxy 127.0.0.1:7890
^
^ Missing a dash here.
RunAsAdmin
is passed as string as a location parameter to the install script.
How can I change it to the default scoop/cache?
scoop config rm cache_path
or delete env var SCOOP_CACHE
, one of them will exist on your PC at least.
Bug Report
Current Behavior
When I install a software, scoop will create a RunAsAdmin folder in the current working directory to save the cache. Why?
The command I executed when installing scoop was
When I use scoop to install software in any directory, it will create a RunAsAdmin/ folder in that directory to store the cache. How can I change it to the default scoop/cache?
Additional context/output
Possible Solution
System details
Windows version: [10]
OS architecture: [64bit]
PowerShell version: [output of
"$($PSVersionTable.PSVersion)"
]