Install Script
install.sh
We provide a well-commented, idempotent Bash script that detects your $TERM, downloads the matching .ti source, compiles it with tic -x, and installs it into ~/.terminfo.
Quick usage
curl -fsSL https://terminfo.me/install.sh | sh
With explicit terminal name
curl -fsSL https://terminfo.me/install.sh | sh -s -- alacritty
Verify checksums
curl -fsSL https://terminfo.me/install.sh | sh -s -- --verify
What the script does
- Detects your
$TERMenvironment variable. - Maps it to a
.tifile in this collection. - Downloads the source over HTTPS.
- Optionally verifies the SHA-256 checksum.
- Runs
tic -x -o ~/.terminfo <file.ti>. - Skips re-installation if the entry is already present and up to date.
Safety
- The script never runs
ticwithsudoor elevated privileges. - It only writes to
~/.terminfoin your home directory. - It fails gracefully with clear error messages if a terminfo entry is missing.
- You can inspect the script at any time before piping it to
sh.