Install locations

Where the script puts files, which shell files it may edit, and what the receipt records.

Files

System Files Commands
Linux, macOS ~/.local/share/instl/OWNER/REPO Links in ~/.local/bin
Linux, macOS as root /usr/local/lib/instl/OWNER/REPO Links in /usr/local/bin
Windows %LOCALAPPDATA%\Programs\instl\OWNER\REPO That folder on the user PATH

~/.local/share follows XDG_DATA_HOME when it is set. INSTL_HOME and INSTL_BIN_DIR override both columns. Owner and repository are lowercase in the path.

PATH changes on Linux and macOS

The script changes nothing when the bin directory is already on PATH. Otherwise it asks, and adds this line, marked with a comment, to the files of the shells you choose:

Shell
# added by instl.sh
export PATH="$HOME/.local/bin:$PATH"
Shell File
bash ~/.bashrc, and ~/.bash_profile if it exists, else ~/.profile
zsh $ZDOTDIR/.zshrc, by default ~/.zshrc
fish ~/.config/fish/conf.d/instl.fish
nushell instl.nu in the first user autoload directory
PowerShell (pwsh) $PROFILE.CurrentUserAllHosts
tcsh, csh ~/.tcshrc or ~/.cshrc
any other ~/.profile

“All shells” covers each of these shells that is installed, plus your login shell. “Current shell” means the shell in $SHELL. A file that already has the line is left alone.

PATH changes on Windows

The script appends the install folder to the user PATH in the registry, keeping existing entries unexpanded, and updates the PATH of the running PowerShell session. Programs started afterwards see the new entry. Windows Terminal tabs opened before the change keep their old PATH.

The receipt

Each install directory holds .instl-receipt, a plain text file:

source=https://instl.sh/installer/demo
version=v2.0.0
asset=instl-demo_Linux_x86_64.tar.gz
installed=2026-12-01T09:12:44Z
bin_dir=/home/you/.local/bin
command=instl-demo

The install script reads it to skip reinstalls and to report upgrades. The uninstall script reads it to find the command links. On Windows, path= lines replace bin_dir=.