Installation
Requirements
Section titled “Requirements”- macOS on Apple Silicon (M1, M2, M3, M4, M5)
- Xcode Command Line Tools:
xcode-select --install
For building from source:
- Rust 1.85+: Install via rustup
- Metal Toolchain:
xcodebuild -downloadComponent MetalToolchain
For GUI development:
- bun:
brew install oven-sh/bun/bun
Prebuilt Binaries
Section titled “Prebuilt Binaries”Signed binaries are available on the Releases page:
curl -fsSL https://github.com/Epistates/pmetal/releases/latest/download/pmetal-aarch64-apple-darwin.tar.gz | tar xzsudo mv pmetal /usr/local/bin/pmetal --versionInstall from crates.io
Section titled “Install from crates.io”# Default features (CLI + TUI + ANE + Dashboard)cargo install pmetal
# All featurescargo install pmetal --features fullSee Feature Flags for details on what each feature enables.
Build from Source
Section titled “Build from Source”git clone https://github.com/epistates/pmetal.git && cd pmetal
# Release build (default features: ANE + Dashboard)cargo build --release
# Build without ANEcargo build --release --no-default-features --features dashboard
# Run tests (single-threaded for Metal compatibility)just testThe compiled binary will be at target/release/pmetal.
GUI Installation
Section titled “GUI Installation”The desktop GUI is a Tauri + Svelte application:
cd crates/pmetal-guibun installbun tauri buildThe built application bundle will be in target/release/bundle/.
For development:
cd crates/pmetal-guibun installbun tauri devPython SDK
Section titled “Python SDK”The Python SDK is built with maturin and PyO3:
cd crates/pmetal-pypip install maturinmaturin develop --releaseThen in Python:
import pmetalprint(pmetal.__version__)Verify Installation
Section titled “Verify Installation”# Check versionpmetal --version
# Show device info (GPU, ANE, bandwidth)pmetal info
# Check memory capacitypmetal memory
# Search for a modelpmetal search "qwen 0.6b" --detailed