Install-GithubRelease

1.3.2

A cross-platform script to download, check the file hash, and make sure the binary is on your PATH.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Install-GithubRelease

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

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.2** Allow pasting user/repo as a single string
- **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

Version History

Version Downloads Last updated
1.3.2 (current version) 37 1/18/2024
1.3.1 9 1/18/2024
1.3.0 26 12/13/2023
1.2.0 12 10/28/2023
1.1.0 5 10/28/2023
1.0.1 5 10/27/2023
1.0.0 5 10/27/2023
Show more