Install-GithubRelease
1.3.1
A cross-platform script to download, check the file hash, and make sure the binary is on your PATH.
Installation Options
Owners
Copyright
Copyright (c) 2019-2023, Joel Bennett
Package Details
Author(s)
- Joel Bennett
Tags
Install Github Releases Binaries Linux Windows
Functions
Get-OSPlatform Get-OSArchitecture Get-GitHubRelease Test-FileHash Install-GitHubRelease
Dependencies
This script has no dependencies.
Release Notes
- **1.3.1** Fixed the -BinDir parameter (and installing to hidden folders)
- **1.3.0** Added support for mikefarah/yq, by supporting checksum files with multiple hashes (for different hash algorithms)
- **1.2.0** Added support for .zip files on Linux
Also for checksum files based on the name "SHA256SUMS" instead of "checksums"
- **1.1.0** Added support for directly downloading binaries (.exe on Windows, or no extension) to support earthly/earthly
- **1.0.0** Broke this out from my BoxStarter Boxes, so I could share it more easily.
FileList
- Install-GithubRelease.nuspec
- Install-GithubRelease.ps1