Install any GitHub release with one command.

instl.sh writes an install script for every public GitHub repository. Maintainers set up nothing, and users don't need admin rights.

Showing the demo repository until you enter one.

Install stats
$ curl -fsSL https://instl.sh/installer/demo/linux | sh

Run it in a terminal. Read the script first.

$ curl -fsSL https://instl.sh/installer/demo/linux | sh
◆  instl.sh · installer/demo
│
◇  Release     v2.0.0 · linux/x86_64
◇  Downloaded  instl-demo_Linux_x86_64.tar.gz · 762.7 KB
◇  Verified    sha256 · GitHub digest
◇  Installed   ~/.local/share/instl/installer/demo
◇  Linked      instl-demo → ~/.local/bin/instl-demo
│
└  Done. Run instl-demo to get started

What the script does

The scripts run on other people's work machines, and the test suite runs each of these steps against real release layouts. Read the full walkthrough.

Runs on the user's machine
The script asks GitHub for the release itself. instl.sh never sees tokens, files or anything else on the machine.
Picks the right file
It matches the release files against the OS, the CPU and the C library, and falls back to Rosetta 2 or x64 emulation when there is no native build.
Verifies every download
The file's SHA-256 has to match GitHub's digest or the release's checksum file. A mismatch stops the install before anything changes.
Needs no admin rights
Everything lands in the user's own directories: ~/.local on Linux and macOS, %LOCALAPPDATA% on Windows.
Asks before it touches PATH
It names the shell files it would edit and waits for an answer. In CI it changes only the current shell, or nothing.
Upgrades and uninstalls
Running the command again upgrades in place. The uninstall command removes the files, the links and the PATH entry on Windows.

For maintainers

Publish a GitHub release with one file per platform and the commands work. Names like the ones GoReleaser, cargo-dist and most CI templates produce are recognized as they are.

Every repository gets a page with its install count, a badge and a README section to copy, for example instl.sh/installer/demo.

Maintainer guide

Release files instl.sh picks from

  • tool_1.4.0_linux_amd64.tar.gz
  • tool_1.4.0_linux_arm64.tar.gz
  • tool_1.4.0_darwin_arm64.tar.gz
  • tool_1.4.0_windows_amd64.zip
  • checksums.txt