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:
curl -fsSL https://instl.sh/OWNER/REPO/linux | shThe macos URL serves the same script, so either one works on both systems.
On Windows, run this in PowerShell:
irm https://instl.sh/OWNER/REPO/windows | iexTo try it first, install the demo project and run it:
curl -fsSL https://instl.sh/installer/demo/linux | sh
instl-demoRead 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:
curl -fsSL https://instl.sh/installer/demo/linux | lessThe 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-demoIf ~/.local/bin is not on your PATH yet, the script asks before it edits a shell file:
1adds it for every shell you have installed.2adds it for the current shell only.nchanges nothing and prints the line to add yourself.
Requirements
- Linux, macOS and BSD:
sh,curlorwget, andtar. Releases that ship only.zipfiles also needunzip,bsdtarorpython3. - Windows: Windows PowerShell 5.1, which ships with Windows 10 and 11, or PowerShell 7.
Next steps
- Configuration lists the URL options and environment variables, for example to pin a version.
- Uninstall removes an install again.
- Maintainers start with Make your releases installable.