Install Styio
Install pafio first, then let pafio install the managed Styio compiler.
Quickstart
curl -fsSL https://styio.io/tools/pafio/install-pafio.sh | sh -s -- --base-url https://styio.io && pafio install styio@latest && styio --version
Supported platforms
| Platform | OS / Distribution | Arch | Styio |
|---|---|---|---|
| macOS | 13 Ventura 14 Sonoma 15 Sequoia | Apple Silicon | 0.0.1+ |
| Linux · glibc |
Debian 11+ Ubuntu 22.04+ Arch Linux Manjaro RHEL 9+ Rocky Linux 9+ AlmaLinux 9+ CentOS Stream 9+ Fedora 38+ openSUSE Leap 15.5+ |
arm64, x86_64 | 0.0.1+ |
| Linux · musl | Alpine 3.18+ | arm64, x86_64 | 0.0.1+ |
| Windows | Native CLI | x86_64 | 0.0.1+ |
Alpha platform keys are darwin-aarch64,
linux-aarch64, linux-x86_64,
linux-musl-aarch64, linux-musl-x86_64, and
windows-x86_64.
Verify
pafio --version
styio --version
Manage installed compilers
pafio tool status --json
pafio tool use --version 0.0.1 --channel stable
pafio tool pin --version 0.0.1 --channel stable
pafio tool pin --clear
Troubleshooting
Permission denied for /usr/local/bin
Install into a user-owned directory and add it to your shell PATH:
mkdir -p "$HOME/.local/bin"
curl -fsSL https://styio.io/tools/pafio/install-pafio.sh | sh -s -- --base-url https://styio.io --install-dir "$HOME/.local/bin"
Unsupported Linux distribution
The installer detects Debian/Ubuntu, Arch Linux/Manjaro, RHEL/Rocky Linux/AlmaLinux/CentOS Stream/Fedora, openSUSE, and Alpine. Use the adapter diagnostic to inspect the detected package family:
curl -fsSL https://styio.io/tools/pafio/install-pafio.sh | sh -s -- --print-adapter
Windows shell detection
The shell installer detects Git Bash, MSYS2, and Cygwin as
windows-x86_64. If a shell cannot expose that through
uname, pass the platform explicitly:
curl -fsSL https://styio.io/tools/pafio/install-pafio.sh | sh -s -- --base-url https://styio.io --platform windows-x86_64
No prebuilt Pafio release found
That means the release root does not yet contain a channel pointer or pafio binary for your platform. During alpha, use a supported platform or build Pafio from source.