Getting started

Install a GitHub release with one command, and read the script before you run it.

instl.sh serves an install script for every public GitHub repository that publishes release files. The script downloads the file that fits your machine, checks its SHA-256 and puts its commands on your PATH. It needs no admin rights.

Install a project

Replace OWNER/REPO with the repository, for example installer/demo.

On Linux and macOS, run this in a terminal:

Shell
curl -fsSL https://instl.sh/OWNER/REPO/linux | sh

The macos URL serves the same script, so either one works on both systems.

On Windows, run this in PowerShell:

PowerShell
irm https://instl.sh/OWNER/REPO/windows | iex

To try it first, install the demo project and run it:

Shell
curl -fsSL https://instl.sh/installer/demo/linux | sh
instl-demo

Read the script first

The script runs with your user’s rights, so read it before you run it. Open the script URL in a browser, or page through it in the terminal:

Shell
curl -fsSL https://instl.sh/installer/demo/linux | less

The same URL returns the same script for everyone. The server makes no decisions. The script asks GitHub for the release from your machine, so every decision it makes is in the text you just read. How it works walks through each step.

What the install prints

The script prints one line per step:

◆  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
◇  PATH        added to ~/.zshrc
│
└  Done. Open a new terminal, then run instl-demo

If ~/.local/bin is not on your PATH yet, the script asks before it edits a shell file:

  • 1 adds it for every shell you have installed.
  • 2 adds it for the current shell only.
  • n changes nothing and prints the line to add yourself.

Requirements

  • Linux, macOS and BSD: sh, curl or wget, and tar. Releases that ship only .zip files also need unzip, bsdtar or python3.
  • Windows: Windows PowerShell 5.1, which ships with Windows 10 and 11, or PowerShell 7.

Next steps