lefthook

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, 2026WindowsWindows
LinuxLinux
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
PowerToys
microsoft
PowerToys is a set of utilities for enhancing productivity and customization on Windows systems. It includes various tools for developers and power users to streamline workflows.
Windows Terminal
microsoft
Windows Terminal combines the classic Windows console with a modern terminal application in one package. It provides developers with a unified interface for command-line tools and shells. The software supports multiple tabs, rich text, and customization options.
Neovim
neovim
Neovim is a fork of Vim focused on improved extensibility and usability. It maintains compatibility with Vim while offering modern features like embedded terminal support and a built-in LSP client. The project emphasizes maintainability and encourages community contributions.