Skip to content

Repository files navigation

GitHub Release VersionGitHub DownloadsAsset SizeImage SizeGo VersionQuality Gate StatusDeployment DocsDeployment PreviewWorkflow ReleaseWorkflow LintGitHub Last CommitGitHub Repo SizeGitHub Top LanguageGitHub ContributorsGitHub IssuesGitHub DiscussionsGitHub ForksGitHub Repo StarsGitHub Org StarsDiscordKo-fi

Install Release

HomebrewBashPowershellGoDocker InstallerWindows Installer

Install Release

CLI to Install a GitHub Release.

Easily Install GitHub Release binaries on Windows, Linux and macOS.

Interactively select the release version, asset, and executable name with automatically detected presets.

VHS Tape

Important

This project is in development. It is functional but may have bugs.

Features

  • Supports Windows, Linux and macOS
  • Interactively Select Options
  • Set Options w/ Flags or Variables
  • Save or Set a Custom bin Path
  • List and Remove Installed Apps
  • Get App Information

View Documentation

Install

Latest ReleaseWindows Installer

Homebrew

brew install cssnr/tap/install-release

Bash

curl 'https://raw.githubusercontent.com/smashedr/install-release/master/scripts/install.sh'| bash

💾 Alternatively, you can manually download a release.

PowerShell

iex (iwr -useb 'https://raw.githubusercontent.com/smashedr/install-release/master/scripts/install.ps1').Content

🪟 Windows users can download the Windows Installer.

Source

go install github.com/smashedr/install-release@latest

Docker

docker run --rm -itv ~/bin:/out ghcr.io/smashedr/ir:latest -b /out smashedr/install-release

Note: Docker requires you to mount the target bin directory.

View Documentation

Usage

Install the latest release.

ir owner/repo

Include the latest pre-releases.

ir owner/repo --pre

Install a specific version/tag.

ir owner/repo v1.0.0

Specify repo in any format:

ir owner[/ ]repo
ir owner[/ ]repo[@:/ ]tag
ir github.com/owner[/ ]repo[@:/ ]tag
ir https://github.com/owner[/ ]repo[@:/ ]tag
View Examples
ir smashedr bup
ir smashedr/bup
ir smashedr bup latest
ir smashedr/bup latest
ir smashedr/bup/latest
ir smashedr/bup:latest
ir smashedr/bup@latest
ir github.com/smashedr/bup
ir github.com/smashedr/bup/latest
ir https://github.com/smashedr/bup
ir https://github.com/smashedr/bup@latest

Skip the asset and name prompts.

ir owner/repo -y

Set the asset and name inline.

ir owner/repo -n name -a asset_name.zip

Install to a different bin directory.

ir owner/repo -b /usr/local/bin

Get package information.

ir info owner/repo

List installed apps.

ir list

Remove an app.

ir remove

Remove an app by name.

ir remove name

Edit the settings.

ir config

View Documentation

Development

Go: https://go.dev/doc/install

go run main.go

Task: https://taskfile.dev/docs/installation

task build
task lint

Docs: https://zensical.org/docs/get-started

task docs

Inno Setup: https://jrsoftware.org/isdl.php

task inno

Support

If you run into any issues or need help getting started, please do one of the following:

FeaturesIssuesDiscussionsDiscord

Contributing

If you would like to submit a PR, please review the CONTRIBUTING.md.

Please consider making a donation to support the development of this project and additional open source projects.

Ko-fi

For a full list of current projects visit: https://cssnr.github.io/

Star History Chart

About

CLI to Install a GitHub Release. Easily Install GitHub Release binaries on Windows, Linux and macOS.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages