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.

Paste owner/repo or a GitHub URL.

$ curl -fsSL https://installer.dev/installer/demo/linux | sh

Run it in a terminal. Read the script first.

Repository page /installer/demoPin a version, set up a GitHub Actions step, see install counts and make a README badge.
$ 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 in 373ms. Run instl-demo to get started

What the script does

The output of the install above, line by line, next to what the script did to print it. The test suite runs every step against real release layouts. Read the full walkthrough.

  1. Your machine talks to GitHub

    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.

  2. 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.

  3. 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.

  4. Needs no admin rights

    No sudo, no UAC prompt. Files go to ~/.local on Linux and macOS and to %LOCALAPPDATA% on Windows.

  5. 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.

  6. Upgrades and uninstalls

    Run the same command again to upgrade. The same command on un.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.

Pipe each URL into 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.

Read the maintainer guide

Release v1.4.0installing on Linux, arm64
  • 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
operating systemCPU architecture

Frequently asked questions

The docs cover the rest. For anything they miss, open an issue on GitHub.

Is it safe to pipe the script into my shell?

The script keeps its own part of the trust small. It is the same text for everyone, so you can open the URL and read it first. It runs nothing until its last line arrives, checks the SHA-256 of every download and never asks for admin rights. A matching checksum still can't tell you whether the binary itself is harmless, so pin a version you reviewed when that matters. Security covers the details.

What does installer.dev learn about my machine?

Only what the request for the script carries. The script asks GitHub for the release from your machine, so installer.dev never sees which file you download, and a GITHUB_TOKEN goes only to api.github.com. The install count stores the repository, the platform and the day, with no IP addresses and no user agents. See the privacy policy.

Which systems and CPUs does it support?

Linux, macOS and Windows, plus FreeBSD, NetBSD and OpenBSD. On the CPU side, x86_64, ARM64, 32-bit x86, ARMv6 and ARMv7, and a few more such as RISC-V. The Linux and macOS script runs in any POSIX sh, including dash and busybox ash. The Windows script runs in Windows PowerShell 5.1 and PowerShell 7.

Do I need sudo or admin rights?

No. The script installs into your home directory: ~/.local on Linux and macOS, %LOCALAPPDATA% on Windows. Run as root, it installs to /usr/local instead.

Does my repository need a config file?

No. A public release with one archive or binary per platform is enough, and the file names from GoReleaser, cargo-dist and most CI templates already work. If the script picks the wrong file, Make your releases installable shows how to name them.

How do I install a specific version?

Add ?version=TAG to the URL, or set INSTL_VERSION for the shell that runs the script. Configuration lists every option.

Can I use it in CI?

Yes. In CI the script skips the PATH question and edits only the current shell's file. On GitHub Actions it also writes to $GITHUB_PATH, so later steps find the command. Shared runners often hit GitHub's limit of 60 anonymous API requests per hour, so set GITHUB_TOKEN.

Does it work with private repositories?

No. installer.dev works with public GitHub repositories only.

What is the difference between installer.dev and instl.sh?

Both serve the same scripts, badges and API. instl.sh is the short domain. Put installer.dev in your README: every .dev domain is HTTPS-only in browsers, so nobody on the network can swap the script someone reads there.

Is installer.dev free?

Yes. The service costs nothing, and the code is open source under the MIT license in installer/installer.