Installation
Download from PyPI
PolyShell binaries are published on PyPI and are available for all major platforms.
Install PolyShell using your package manager of choice:
Build from source
To build PolyShell from source both a functioning Rust compiler and maturin must be installed.
maturin
PolyShell is built natively using the maturin build system.
For development, PolyShell can be installed in editable mode to an activated
virtual environment using the maturin develop
command.
uv
While builds can be managed directly with maturin, we recommended to instead use the interface provided by uv.
As PolyShell is managed as project through uv, development hooks have been configured to the build process to the build process as seamless as possible.
uv automatically detects changes to the source and recompiles when necessary.
Tip
By default uv will build PolyShell with optimisations enabled. To disable optimizations uncomment the following
line in the pyproject.toml
file: