Installation¶
ruff-sync is a Python CLI tool. We recommend using uv for the best experience—it's fast, reliable, and allows you to run tools without managing global environments.
⚡ Recommended: Using uv¶
Persistent Tool Installation¶
The easiest way to use ruff-sync across all your projects is by installing it as a uv tool:
One-off Invocation¶
If you just want to run ruff-sync once without installing it, use uvx:
Project-specific Development¶
To keep the version consistent across your team and locked to your project, add it to your development dependencies:
🛠️ Other Installation Methods¶
pipx is the recommended way to install Python CLIs globally in isolated environments.
Verifying Installation¶
Check that ruff-sync is installed correctly by running: