Lefthook Alternatives

Apps similar to Lefthook include stagelint, which is free and open source. Other options are Husky Git Hooks and pre-commit. In total there are three apps like Lefthook for Linux, Mac and Windows.

Copy a direct link to this comment to your clipboard
Alternatives
Lefthook alternatives page was last updated

Alternatives list

  1. stagelint icon
     Like

    stagelint runs linters, formatters and other commands on the files you are about to commit, and stages whatever they fix. It is a single binary written in Rust with no runtime dependency, so the same tool works in Node, Python, Go, Rust, .NET or a polyglot monorepo.

    Cost / License

    • Free
    • Open Source (MIT)

    Since

    • New

    GitHub

    • GitHub stars: 41

    Platforms

    • Windows
    • Mac
    • Linux
    Good alternative?
     
  2. Husky enhances your commits and more 🐶 woof! Automatically lint your commit messages, code, and run tests upon committing or pushing.

    Cost / License

    • Free
    • Open Source (MIT)

    Since

    • Since 2024 (updated Mar 2026)

    GitHub

    • GitHub stars: 35.3k

    Platforms

    • Linux
    Good alternative?
     
  3. Git hook scripts are useful for identifying simple issues before submission to code review. We run our hooks on every commit to automatically point out issues in code such as missing semicolons, trailing whitespace, and debug statements.

    Cost / License

    • Free
    • Open Source (MIT)

    Since

    • Since 2024 (updated Oct 2025)

    GitHub

    • GitHub stars: 14.5k

    Platforms

    • Windows
    • Mac
    • Linux
    • BSD
    Good alternative?
     
    |
    1
3 of 3 Lefthook alternatives