Install and upgrade
Tarsail publishes prebuilt binaries through GitHub Releases.
The install scripts download the matching asset for your operating system and CPU architecture, verify it against the release SHA256SUMS file, install it into a PATH directory, and leave the tarsail command available globally.
Quick install
Section titled “Quick install”PowerShell on Windows, macOS, or Linux:
irm https://tarsail.plystra.com/install.ps1 | iexPOSIX shell on Linux or macOS:
curl -fsSL https://tarsail.plystra.com/install.sh | shIf curl is unavailable:
wget -qO- https://tarsail.plystra.com/install.sh | shVerify installation
Section titled “Verify installation”Open a new terminal if your shell does not see the updated PATH immediately.
tarsail versiontarsail helpOn Windows, the PowerShell installer adds this user PATH directory by default:
%LOCALAPPDATA%\Programs\Tarsail\binOn Linux and macOS, both installers use this default install directory:
/usr/local/binThe Unix installers use sudo only when the target directory is not writable.
Upgrade
Section titled “Upgrade”Run the same install command again.
PowerShell:
irm https://tarsail.plystra.com/install.ps1 | iexPOSIX shell:
curl -fsSL https://tarsail.plystra.com/install.sh | shThe script replaces the existing tarsail binary with the latest GitHub Release asset.
Install a specific release
Section titled “Install a specific release”Set TARSAIL_VERSION to a release ID.
PowerShell:
$env:TARSAIL_VERSION = "20260622-194500-a1b2c3d4e5f6"irm https://tarsail.plystra.com/install.ps1 | iexPOSIX shell:
curl -fsSL https://tarsail.plystra.com/install.sh | TARSAIL_VERSION=20260622-194500-a1b2c3d4e5f6 shTarsail release IDs are generated from the pushed commit date and short commit hash:
YYYYMMDD-HHMMSS-<12-char-commit>Install to a custom directory
Section titled “Install to a custom directory”PowerShell:
$env:TARSAIL_INSTALL_DIR = "C:\Tools\Tarsail"irm https://tarsail.plystra.com/install.ps1 | iexPOSIX shell:
curl -fsSL https://tarsail.plystra.com/install.sh | TARSAIL_INSTALL_DIR="$HOME/.local/bin" shMake sure the custom directory is on PATH.
Supported systems
Section titled “Supported systems”Release assets are built for:
| System | Architectures | Asset format |
|---|---|---|
| Linux | amd64, arm64 | .tar.gz |
| macOS | amd64, arm64 | .tar.gz |
| Windows | amd64, arm64 | .zip |
The scripts choose the asset name automatically:
tarsail_<version>_<os>_<arch>.tar.gztarsail_<version>_<os>_<arch>.zipExamples:
tarsail_20260622-194500-a1b2c3d4e5f6_linux_amd64.tar.gztarsail_20260622-194500-a1b2c3d4e5f6_darwin_arm64.tar.gztarsail_20260622-194500-a1b2c3d4e5f6_windows_amd64.zipRelease source
Section titled “Release source”By default, installers download from:
https://github.com/plystra/tarsail/releasesFor forks or private testing, override the repository:
curl -fsSL https://tarsail.plystra.com/install.sh | TARSAIL_REPO=owner/repo sh$env:TARSAIL_REPO = "owner/repo"irm https://tarsail.plystra.com/install.ps1 | iexSecurity notes
Section titled “Security notes”The scripts verify the downloaded archive against SHA256SUMS from the same GitHub Release.
For stricter environments, download and inspect the script before running it:
curl -fsSL https://tarsail.plystra.com/install.sh -o install.shless install.shsh install.shirm https://tarsail.plystra.com/install.ps1 -OutFile install.ps1notepad .\install.ps1.\install.ps1Do not run install scripts from an untrusted domain.
Publishing releases
Section titled “Publishing releases”Maintainers publish binaries by pushing to main:
git push origin mainThe GitHub Actions release workflow runs tests, generates a release ID from the pushed commit date and short commit hash, builds release assets for Linux, macOS, and Windows, writes SHA256SUMS, creates a GitHub Release for that release ID, and marks it as the GitHub latest release.
The release workflow can also be run manually through GitHub Actions workflow_dispatch. Manual runs use the checked-out commit and the same date-plus-hash release ID format.
Uninstall
Section titled “Uninstall”Remove the installed binary.
Windows PowerShell:
Remove-Item "$env:LOCALAPPDATA\Programs\Tarsail\bin\tarsail.exe"Linux or macOS:
sudo rm -f /usr/local/bin/tarsailIf you installed to a custom directory, remove the binary from that directory instead.