-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Allow global install of PowerShell modules #5611
feat: Allow global install of PowerShell modules #5611
Conversation
…wsPowerShell\Modules
0b21284
to
c369228
Compare
Another alternative would be to install to a new folder named |
This is more in line with current Scoop directory structure. |
Yeah! I may have dreamed about it or something like that because it suddenly made sense that the first commit was not the best way to address the issue! |
Fixed! Install:
(note: Is Module Available?
Uninstall:
RegKey
|
LGTM |
Allow global install of PowerShell modules
By installing them to $env:ProgramFiles\WindowsPowerShell\Modules which is the folder where both Windows PowerShell and PowerShell core use. (See https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_psmodulepath )basedir\modules
(c:\ProgramData\scoop\modules)Description
Motivation and Context
Closes #5601 #5597
How Has This Been Tested?
By installing, updating, uninstalling gsudo.
Checklist:
develop
branch.