Installation¶
Pascal ships as a native binary wrapped in a Python wheel, so it installs like any other Python tool — no Rust toolchain required for end users.
pip / uv / pipx¶
This installs pascal into an isolated uv-managed environment and puts the pascal binary on your PATH. Recommended because uv itself is what pascal delegates package operations to.
Verify¶
From source (cargo)¶
If you have the Rust toolchain installed:
Or clone and build locally:
git clone https://github.com/sandeep-selvaraj/pascal
cd pascal
cargo build --release
# binary is at target/release/pascal
System requirements¶
| Requirement | Notes |
|---|---|
| uv | Required at runtime for test, build, run, and sync commands. Install from astral.sh/uv. |
| Python ≥ 3.8 | Only needed if you install via pip/pipx. The pascal binary itself has no Python dependency. |
| git | Required for pascal diff. Optional otherwise. |
Shell completions¶
Pascal uses clap and can generate shell completions: