Skip to content

Installing Pony

The easiest way to install Pony is through ponyup, Pony’s toolchain manager. Ponyup handles installing and updating the Pony compiler and related tools.

Supported platforms

OS \ CPU amd64 arm64 i386 arm32 riscv64
Linux โœ… Released โœ… Released ๐Ÿงช Tested ๐Ÿ”ง Best-effort ๐Ÿงช Tested
macOS โœ… Released โœ… Released โ€” โ€” โ€”
Windows โœ… Released โœ… Released โ€” โ€” โ€”
FreeBSD ๐Ÿงช Tested โœ— Unsupported โ€” โ€” โ€”
OpenBSD ๐Ÿงช Tested โœ— Unsupported โ€” โ€” โ€”
DragonFly BSD ๐Ÿงช Tested โ€” โ€” โ€” โ€”
  • โœ… Released โ€” official prebuilt binaries; also tested in CI
  • ๐Ÿงช Tested โ€” tested in CI; build from source (no prebuilt binary)
  • ๐Ÿ”ง Best-effort โ€” not in CI; built from source and tested periodically on real hardware
  • โœ— Unsupported โ€” no support
  • โ€” Not applicable โ€” combination doesn’t exist

On Windows, the minimum supported version is Windows 11 / Windows Server 2022 (build 20348). Pony’s networking uses an OS readiness API introduced in that build; earlier versions, including Windows 10, are unsupported.

Platforms marked ๐Ÿงช Tested or ๐Ÿ”ง Best-effort have no prebuilt binary; you’ll need to build ponyc from source.

Install ponyup

On Linux or macOS, run:

sh -c "$(curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/ponylang/ponyup/latest-release/ponyup-init.sh)"

If the latest ponyup release lacks the archive or checksum for your platform, the Linux and macOS installer uses python3 to find an older release with both files. You also need python3 on your PATH to install a nightly build of ponyup. On Windows, the PowerShell installer handles both cases without Python.

Install the Pony compiler

Once ponyup is installed, install the latest release of the Pony compiler:

ponyup update ponyc release

Prebuilt packages are only available for certain platforms. Check the ponyc INSTALL.md for the current list of supported distributions. If yours isn’t listed, you’ll need to build from source.

Sign in to GitHub for release lookups

An HTTP 403 or 429 from api.github.com during a release lookup can mean you’ve reached GitHub’s rate limit. To use your account’s higher limit, install the GitHub CLI, then run gh auth login --hostname github.com and follow the prompts.

On Linux or macOS, pass your GitHub CLI token to each ponyup command. The first command lists available compiler releases. The second installs the latest one.

GITHUB_TOKEN="$(gh auth token --hostname github.com)" ponyup find ponyc release
GITHUB_TOKEN="$(gh auth token --hostname github.com)" ponyup update ponyc release

On Windows, set the token for your current PowerShell session:

$env:GITHUB_TOKEN = gh auth token --hostname github.com
ponyup find ponyc release
ponyup update ponyc release

The ponyup installers also use GITHUB_TOKEN for GitHub release lookups when it is set. Nightly lookups use anonymous access.

Additional dependencies

On Linux, the Pony compiler requires a C compiler and may need additional libraries depending on your distribution. See the ponyc installation instructions for distro-specific details.

More information

See the ponyup repository for full documentation, including how to install nightly builds and manage multiple toolchain versions.