Skip to content

Installation

Terminal window
uv tool install janitor-sh

Verify installation:

Terminal window
janitor --help
  • uv installed on your machine
  • A repository that contains code or documentation files janitor can process

Use this if you are testing local source changes or cannot use PyPI.

  1. Build from a local checkout:
Terminal window
cargo build --release
  1. Run the binary directly:
Terminal window
./target/release/janitor --help
  1. Optional install from local source:
Terminal window
uv tool install . --force

Continue with Getting Started to run janitor safely in local repositories.