Install any GitHub release with one command.
Put a public GitHub repository in the URL and instl.sh returns a script that installs its latest release. The repository needs no config file, and the script never asks for admin rights.
Showing the demo repository until you enter one.
$ curl -fsSL https://instl.sh/installer/demo/linux | shRun 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 startedWhat the script does
Every step below prints one line in the terminal above. The test suite runs each of them against real release layouts. Read the full walkthrough.
instl.sh
Talks to GitHub directly
The script looks up the release from the user's machine. instl.sh only hands out the script, so a GITHUB_TOKEN goes to api.github.com and nowhere else.
Release
Picks the right file
It reads the OS, CPU and C library out of each file name and takes the closest match. Without an Apple silicon or Windows ARM64 build, it installs the x86_64 one and lets Rosetta 2 or emulation run it.
Verified
Checks the SHA-256
The download has to match the digest GitHub stores for it, or its line in the release's checksum file. A mismatch stops the install before anything changes. A release without checksums installs with a warning, or fails with INSTL_REQUIRE_CHECKSUM=1.
Installed
Needs no admin rights
No sudo, no UAC prompt. Files go to ~/.local on Linux and macOS and to %LOCALAPPDATA% on Windows.
Linked
Asks before it touches PATH
It lists the shell config files it wants to edit and waits for a yes. In CI it edits only the current shell's file, and on GitHub Actions it also writes to $GITHUB_PATH so later steps find the command.
Done
Upgrades and uninstalls
Run the same command again to upgrade. The uninstall command deletes the files and links. On Windows it also removes the PATH entry. On Linux and macOS the marked line in the shell config stays, because other installs use the same directory.
For maintainers
If your release has one archive or binary per platform, the commands already work. File names from GoReleaser, cargo-dist and most CI templates need no changes.
Each repository also gets a page with a command builder for pinned versions and CI, its install count, and a badge builder for your README. See instl.sh/installer/demo.
- tool_1.4.0_linux_amd64.tar.gz
- tool_1.4.0_linux_arm64.tar.gzpicked
- tool_1.4.0_darwin_arm64.tar.gz
- tool_1.4.0_windows_amd64.zip
- checksums.txtverifies the download