Install the CLI
The CLI ships as a single self-contained executable. It bundles its own runtime, so there is nothing to install alongside it — no Deno, no Node, no package manager.
Quick install
Section titled “Quick install”curl -fsSL https://docs.polymesa.com/install.sh | shThe script detects your OS and architecture, downloads the matching binary,
verifies its SHA-256 checksum, and installs to /usr/local/bin/polymesa.
To install somewhere else — useful when you do not want to use sudo:
curl -fsSL https://docs.polymesa.com/install.sh | POLYMESA_INSTALL_DIR="$HOME/.local/bin" shirm https://docs.polymesa.com/install.ps1 | iexInstalls to %LOCALAPPDATA%\Polymesa\bin and adds it to your user PATH.
Open a new terminal afterwards so the updated PATH takes effect.
Direct downloads
Section titled “Direct downloads”Grab a binary yourself if you prefer, or if you are pinning a version in CI.
Every release also publishes checksums.txt alongside the binaries, and
https://dl.polymesa.com/cli/versions.json lists all available versions.
After downloading manually, mark it executable and put it on your PATH:
chmod +x polymesa-aarch64-apple-darwinsudo mv polymesa-aarch64-apple-darwin /usr/local/bin/polymesaPinning a version
Section titled “Pinning a version”latest always points at the newest release. To pin, swap it for a version number:
curl -fsSLO https://dl.polymesa.com/cli/1.0.0/polymesa-x86_64-unknown-linux-gnuVerify
Section titled “Verify”polymesa --versionpolymesa --helpBuild from source
Section titled “Build from source”If you have the repository and a Deno toolchain, you can compile it yourself:
cd clideno task installThat installs a polymesa shim onto your PATH that runs from source — handy
while developing the CLI itself, since edits take effect without recompiling.
To produce a standalone binary instead:
deno compile \ --allow-read --allow-write --allow-net --allow-env \ --allow-run=open,xdg-open,cmd \ --output polymesa \ cli/main.tsNext steps
Section titled “Next steps”Authenticate, then deploy something:
- Authentication — log in and store credentials
- Command reference — every command and flag