Per last PR comments, I set the Scoped paths for module installation to work for PS 7.x on Windows and MacOS. I'll keep a separate fork for PS 5.1 for myself.
Changes (for PS 7.x)
Windows AllUsers scope (default): $env:ProgramFiles\PowerShell\Modules
Windows CurrentUser scope: $HOME\Documents\PowerShell\Modules
Mac AllUsers scope (default): /usr/local/share/powershell/Modules
Mac CurrentUser scope: $HOME/.local/share/powershell/Modules
Per last PR comments, I set the Scoped paths for module installation to work for PS 7.x on Windows and MacOS. I'll keep a separate fork for PS 5.1 for myself.
Changes (for PS 7.x)
$env:ProgramFiles\PowerShell\Modules
$HOME\Documents\PowerShell\Modules
/usr/local/share/powershell/Modules
$HOME/.local/share/powershell/Modules