KingDownloads

lefthook

by evilmartians 8.5k stars MITDeveloper Tools
Download
lefthook preview

About lefthook

Lefthook is a Git hooks manager designed for projects using Node.js, Ruby, Python, and other languages. It helps automate and manage Git hooks to streamline development workflows.

The tool is implemented in Go, which allows it to execute commands quickly, including parallel execution for improved performance. It provides flexibility in configuring hooks through a YAML file, supporting various file filters and execution environments.

Key features

  • Parallel execution of commands for faster performance
  • Flexible file filtering using glob and regex patterns
  • Support for executing commands in sub-directories
  • Ability to run custom scripts for complex tasks
  • Tag-based grouping of commands for better organization
  • Docker environment support
  • Local configuration overrides for individual developers
  • Direct control to run specific hook groups or custom tasks

Download v2.1.10

Jul 8, 2026
View all 11 versions

Frequently asked questions

Is lefthook free?
Yes. lefthook is free and open-source software, distributed under the MIT license.
Which platforms does lefthook support?
lefthook provides downloads for Windows, macOS, Linux, Android.
What is the latest version of lefthook?
The latest version is v2.1.10, released on Jul 8, 2026.
How do I install Lefthook?
Lefthook can be installed via Go, NPM, RubyGems, or pipx. Specific installation methods are documented for various platforms including Homebrew, Winget, and Linux package managers.
What platforms does Lefthook support?
Lefthook works across multiple platforms and can be used in projects with Node.js, Ruby, Python, and other environments. It is available for Linux, macOS, and Windows.
How do I configure hooks with Lefthook?
Hooks are configured in a lefthook.yml file, where you define the commands and options for each Git hook. After configuration, run 'lefthook install' to set up the hooks in your Git repository.

More Developer Tools