Install any GitHub release with one command.
Put a public GitHub repository in the URL and installer.dev 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://installer.dev/installer/demo/linux | shRun it in a terminal. Read the script first.
$ curl -fsSL https://installer.dev/installer/demo/linux | sh
◆ installer.dev · 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.
installer.dev
Talks to GitHub directly
The script looks up the release from the user's machine. installer.dev 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 same command on uninstall.installer.dev deletes the files and links, and on Windows the PATH entry. On Linux and macOS the marked line in the shell config stays, because other installs use the same directory.
Update and remove with the same command
Change the host and the script does a different job. Each one is generated the same way, prints the same kind of output and never asks for admin rights.
Without a repository in the path, the update and uninstall scripts work on every project installer.dev installed for your user. They find them through the receipt each install leaves behind.
- installer.dev/OWNER/REPO/linuxInstalls a project. Run it again to upgrade.
- update.installer.dev/linuxUpdates every project to its latest release. Pinned versions stay.
- uninstall.installer.dev/OWNER/REPO/linuxRemoves that project.
- uninstall.installer.dev/linuxRemoves every project and the PATH lines they added, after asking.
sh on Linux and macOS. On Windows, use the windows platform and pipe it into iex.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 installer.dev/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