Boxy install scripts download a published GitHub release binary, verify it against the release checksums.txt, and install it into a user-local bin directory.
- Windows PowerShell:
windows/amd64 - Windows on ARM64: installs the published
windows/amd64binary and relies on Windows x64 emulation - Linux:
linux/amd64,linux/arm64 - macOS:
darwin/amd64,darwin/arm64
- Windows install dir:
%LOCALAPPDATA%\Programs\boxy\bin - Linux/macOS install dir:
$HOME/.local/bin latestmeans the newest published GitHub release, including prereleases
The installers target the GoReleaser archives published by release.yml:
boxy_<version>_linux_amd64.tar.gzboxy_<version>_linux_arm64.tar.gzboxy_<version>_darwin_amd64.tar.gzboxy_<version>_darwin_arm64.tar.gzboxy_<version>_windows_amd64.zipchecksums.txt
Preferred Boxy-specific variables:
BOXY_VERSION: install a specific tag instead oflatestBOXY_INSTALL_DIR: override the destination directoryBOXY_FORCE=1: overwrite an existing installBOXY_DEBUG=1: enable installer debug logging
Compatibility aliases are also supported:
BOXY_INSTALL_VERSIONINSTALLER_VERSIONINSTALLER_INSTALL_DIRINSTALLER_FORCEINSTALLER_DEBUG
Run from PowerShell:
irm https://raw.githubusercontent.com/Geogboe/boxy/main/scripts/install.ps1 | iexInstall a specific release:
$env:BOXY_VERSION = 'v0.1.5'
irm https://raw.githubusercontent.com/Geogboe/boxy/main/scripts/install.ps1 | iexImportant behavior:
- Verifies the downloaded
.exeagainstchecksums.txt - Adds the default install directory to the user
Pathwhen needed - Prints an explicit remediation command instead of editing
Pathautomatically for custom install directories - Refuses to overwrite an existing binary unless
-Forceis provided - Supports
-Verbose,BOXY_DEBUG=1, orINSTALLER_DEBUG=1for install diagnostics
Run from a POSIX shell:
curl -fsSL https://raw.githubusercontent.com/Geogboe/boxy/main/scripts/install.sh | shInstall a specific release:
curl -fsSL https://raw.githubusercontent.com/Geogboe/boxy/main/scripts/install.sh | BOXY_VERSION=v0.1.5 shImportant behavior:
- Verifies the downloaded binary against
checksums.txt - Installs to
~/.local/binby default - Prints an exact shell-specific PATH remediation command when the install directory is not already on
PATH - Refuses to overwrite an existing binary unless
--forceis provided - Supports
--debug,BOXY_DEBUG=1, orINSTALLER_DEBUG=1for install diagnostics
After install:
boxy --version
boxy versionboxy --version prints a short machine-friendly version string. boxy version prints version, commit, and build date.