[Feature] Installing PowerShell modules globally
gerardog opened this issue · 1 comments
gerardog commented
Feature Request
Is your feature request related to a problem? Please describe.
Scoop currently does not support installing PowerShell modules globally.
It throws the following error: Installing PowerShell modules globally is not implemented!
Fixes: ScoopInstaller/Main#4989 & #5597
Describe the solution you'd like
However, doing so may not be so hard:
- Installing a PS Module for the current user is done by creating a directory junction from
$scoopdir\modules\$module_name
to the module location (in my case~\scoop\apps\{app}\current
) - Installing it globally can be done by linking
$env:ProgramFiles\WindowsPowerShell\Modules\$module_name
to the module location.