InstallModuleFromGitHub icon indicating copy to clipboard operation
InstallModuleFromGitHub copied to clipboard

Install PowerShell Modules from GitHub

Results 17 InstallModuleFromGitHub issues
Sort by recently updated
recently updated
newest added

(this may not be the right area to send this, if so, please forgive me - but I am really stumped... hoping someone can point me in the right direction...

PS C:\WINDOWS\system32> Install-Module -Name InstallModuleFromGitHub Untrusted repository You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the Set-PSRepository cmdlet....

Added type to ProjectUri Parameter Fixed issue with $url based on ProjectUri containing extraneous slash character Changed default value for $Branch parameter to 'main'

On PowerShell 5.1, latest Windows 10. Looks like the GitHub URLs are no longer valid? ``` Install-Module InstallModuleFromGitHub Find-Module nameit | Install-ModuleFromGitHub Invoke-RestMethod : {"message":"Not Found","documentation_url":"https://docs.github.com/rest"} At C:\Program Files\WindowsPowerShell\Modules\InstallModuleFromGitHub\1.5.0\InstallModuleFromGitHub.psm1:48 char:17...

This worked great on Mac but I encountered errors on Windows. It errors on the Get-Childitem and then the Copy-Item towards the end of the process. Both are contained in...

```` PS> Install-ModuleFromGitHub -GitHubRepo NetzwergX/Windows-Screenfetch -Branch 'fix/Get-Uptime' -Debug Invoke-RestMethod: \PowerShell\Modules\InstallModuleFromGitHub\0.3\InstallModuleFromGitHub.psm1:28 Line | 28 | Invoke-RestMethod $url -OutFile $OutFile | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Could not find a part of the path '\win-screenfetch\fix\Get-Uptime.zip'....

Hello, I was trying to use your script to install some random powershell module on github. I stumbled upon an error that happens during the Expand-Archive phase. It looks like...

Cmdlet: `Find-Module windows-screenfetch | Install-ModuleFromGitHub` Errors: ``` Invoke-RestMethod: C:\Users\Yihua\Documents\PowerShell\Modules\InstallModuleFromGitHub\1.3.0\InstallModuleFromGitHub.psm1:47 Line | 47 | … Invoke-RestMethod $url -OutFile $OutFile -Headers $header … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | {"message":"Not Found","documentation_url":"https://developer.github.com/v3"} Unblock-File: C:\Users\Yihua\Documents\PowerShell\Modules\InstallModuleFromGitHub\1.3.0\InstallModuleFromGitHub.psm1:49 Line |...

Does GitHub Packages obviate the need for InstallModuleFromGitHub? https://help.github.com/en/github/managing-packages-with-github-packages/configuring-dotnet-cli-for-use-with-github-packages