Using installer

Troubleshooting

Fix the errors the install script reports.

Every error names what went wrong and leaves the machine unchanged unless it says otherwise. Run the verbose script to see each decision:

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

GitHub API rate limit reached

GitHub allows 60 anonymous API requests per hour per IP address. Offices and CI runners often share one address. Set a token and run the command again. A token without any scopes works:

export GITHUB_TOKEN=github_pat_...
curl -fsSL https://instl.sh/OWNER/REPO/linux | sh

In PowerShell, set $env:GITHUB_TOKEN first.

No file in release fits this machine

The release has no file for your OS and CPU, or none the script recognizes. The error lists the published files. If one of them is the right one, open an issue in the project’s repository and point the maintainers to Make your releases installable.

The command is not found after the install

Open a new terminal. A shell reads its configuration only at start, so the new PATH line takes effect in new shells.

If you answered n at the PATH question, or your shell is one the script doesn’t know, add ~/.local/bin to PATH yourself:

export PATH="$HOME/.local/bin:$PATH"

If the command still resolves to another program, an older copy comes first on PATH. The script warns about that case and names the other path. Check with command -v NAME.

A command already exists

The script refuses to replace a file in ~/.local/bin that it did not install for this repository. Remove the file, or run the install again with INSTL_FORCE=1 to replace it:

curl -fsSL https://instl.sh/OWNER/REPO/linux | INSTL_FORCE=1 sh

Checksum mismatch

The downloaded file differs from what GitHub or the release’s checksum file lists. The script discarded it. Run the command again; a second mismatch points to a proxy that rewrites downloads or a release whose files changed after upload. Report the second case to the maintainers.

Behind a proxy

curl and wget read HTTPS_PROXY. PowerShell uses the system proxy. A proxy that inspects TLS needs its certificate in the system trust store, or curl fails with a certificate error.

Could not replace the install on Windows

Windows locks running programs. Close the program from the previous install and run the command again.