Skip to content

Installation

Cargo (Rust)

cargo install scythe-cli

Homebrew (macOS/Linux)

brew install Goldziher/tap/scythe

Pre-built binaries are available for macOS (arm64, x86_64) and Linux (x86_64). No Rust toolchain needed.

From Source

git clone https://github.com/Goldziher/scythe.git
cd scythe
cargo install --path crates/scythe-cli

Pre-commit / prek

If you only need scythe for pre-commit hooks, add it directly to your .pre-commit-config.yaml:

repos:
  - repo: https://github.com/Goldziher/scythe
    rev: v0.6.0
    hooks:
      - id: scythe-fmt
      - id: scythe-lint

See Pre-commit Hooks for all available hooks and configuration.

Verify Installation

scythe --version