https://github.com/dfinke/InstallModuleFromGitHub
Install PowerShell Modules from GitHub
https://github.com/dfinke/InstallModuleFromGitHub
Last synced: 4 months ago
JSON representation
Install PowerShell Modules from GitHub
- Host: GitHub
- URL: https://github.com/dfinke/InstallModuleFromGitHub
- Owner: dfinke
- License: apache-2.0
- Created: 2016-11-21T18:08:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-11-27T15:32:47.000Z (over 2 years ago)
- Last Synced: 2024-05-22T22:35:19.938Z (11 months ago)
- Language: PowerShell
- Size: 101 KB
- Stars: 83
- Watchers: 8
- Forks: 28
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- jimsghstars - dfinke/InstallModuleFromGitHub - Install PowerShell Modules from GitHub (PowerShell)
README
Install a PowerShell Module from GitHub
-Not all PowerShell Modules are published to the PowerShellGallery but are hosted on GitHub.
[Read the blog post](https://dfinke.github.io/powershell/2016/11/21/Quickly-Install-PowerShell-Modules-from-GitHub.html)
## Changes
## 1.6.0
via https://github.com/dfinke/InstallModuleFromGitHub/pull/25
- on non-unix platforms, fixed the psd1 file search
join-path on line 87 was joining two full paths, which is not a
valid result.
## 1.5.0Thank you to [Max Renner](https://github.com/rennerom) for the pull request.
- Use [System.Environment]::OSVersion.Platform -eq "Unix" as a catch all for non-windows systems
- Replaced the hard coded Module paths assigned to $dest with environment variables instead.
- Added if logic for Windows vs Non-Windows machines in assigning $psd1 and in the final Copy-Item statement.## 1.4.0
- Fix module installation path (Thanks [JonathanPitre](https://github.com/JonathanPitre))
## v 0.5.0
- Allow for copying folders recursively. Thank you to:
- https://github.com/montereyharris
- https://github.com/jayvdb
- https://github.com/JonathanPitre## In Action
