Pier ships as a single self-contained binary. There is no runtime to install and no IDE dependency.
| OS | Architectures |
|---|---|
| macOS 12+ | Apple Silicon (arm64), Intel (x86_64) |
| Linux | x86_64, arm64 (aarch64); glibc-based |
| Windows 10+ | x86_64 |
Recommended: 8 GB RAM (4 GB minimum).
curl -fsSL https://dl.piercode.com/stable/install.sh | shThe script detects your OS and architecture, downloads the matching binary, verifies its SHA-256 checksum, installs it to ~/.pier/bin, and adds that directory to your PATH.
install.sh can't run natively on Windows, so use the PowerShell installer instead:
irm https://dl.piercode.com/install.ps1 | iexIt downloads the matching binary, verifies its checksum, installs pier under ~/.pier, and adds it to your PATH. Unsigned builds may trip a one-time Windows SmartScreen warning — choose More info → Run anyway.
macOS and Linux:
curl -fsSL https://dl.piercode.com/stable/install.sh | sh -s -- --release 0.4.0The installer honors these:
| Variable | Default | Purpose |
|---|---|---|
PIER_RELEASE |
latest |
Version to install (overridden by --release). |
PIER_INSTALL_DIR |
~/.pier/bin |
Install directory. |
PIER_NON_INTERACTIVE |
false |
Set to 1 to skip prompts (useful in CI). |
PIER_BASE_URL |
the distribution domain | Override the download base URL. |
Release artifacts are published per target at:
https://dl.piercode.com/v<version>/pier-<target>.tar.gz
https://dl.piercode.com/latest/pier-<target>.tar.gz
where <target> is one of:
aarch64-apple-darwin(macOS, Apple Silicon)x86_64-apple-darwin(macOS, Intel)aarch64-unknown-linux-gnu(Linux, arm64)x86_64-unknown-linux-gnu(Linux, x86_64)x86_64-pc-windows-msvc(Windows, x64)
Each tarball has a matching .sha256 sidecar and contains the pier binary (plus its helper executables on Windows). Extract it onto your PATH (substitute the target for your platform):
tar -xzf pier-aarch64-apple-darwin.tar.gz
mv pier ~/.local/bin/pier --versionRe-run the install script for your platform — it always fetches the latest published version (or pass --release for a specific one). You can also run pier update from an installed CLI.
macOS and Linux:
rm -rf ~/.pierThen remove the # >>> Pier installer >>> block the installer added to your shell profile (~/.zprofile, ~/.bashrc, ~/.profile, etc.).
Windows (PowerShell):
Remove-Item -Recurse -Force "$HOME\.pier"Then remove the ~/.pier/bin entry the installer added to your user PATH.