You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
![image](https://private-user-images.githubusercontent.com/3901474/257884394-76f45b1c-f6e1-4bad-8693-b6ca0248118e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTEyNzksIm5iZiI6MTczOTU5MDk3OSwicGF0aCI6Ii8zOTAxNDc0LzI1Nzg4NDM5NC03NmY0NWIxYy1mNmUxLTRiYWQtODY5My1iNmNhMDI0ODExOGUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMDM0MjU5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YmY1ODIzNTNlYTY2NTk4YzQyODczNGE3YWNkNDBiMTZlYzRjMjEwOTg5MzkyMTM4MjRiMDk3MzMyYjQwMDE2MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.pBq_Oyrz7o8J6n0LoSEXBZ1YuZ6GtV4OPDMLTZk5ujY)
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:
$scoopdir\modules\$module_name
to the module location (in my case~\scoop\apps\{app}\current
)$env:ProgramFiles\WindowsPowerShell\Modules\$module_name
to the module location.The text was updated successfully, but these errors were encountered: