simple-git-hooks
simple-git-hooks: A free, focused choice for package.json hooks in small JavaScript projects. Ranked #20 of 26 in Git Hooks Management Tools by our editors (6.2/10); pricing: Free plan; best for small projects needing lightweight package.json hooks.
At a glance
- Editor score6.2 / 10
- PricingFree plan
- Best forSmall projects needing lightweight package.json hooks
- Free planYes
- Paid fromFree
- Hook stagesAll
- Facts checked20 Oct 2026
Where it wins
- Zero runtime dependencies keep the tool lightweight
- Supports package.json, JavaScript, and JSON configuration
- CLI installs and updates pre-commit and pre-push hooks
Where it doesn't
- Focused on JavaScript and Node.js project workflows
- CI usage centers on bypassing hooks, not running hook checks
- Integration scope is limited to supported package-manager workflows
Our verdict on simple-git-hooks
simple-git-hooks is an open-source, zero-dependency Git hooks manager for JavaScript and Node.js projects. It is aimed at small projects that want commands tied to Git actions without adding runtime dependencies. Developers can define hook commands in package.json or in JavaScript and JSON configuration files, then install or update those hooks through the command-line interface.
Setup is centered on a short configuration-and-install workflow. The CLI creates or updates hooks, while prepare or postinstall scripts can install them automatically during package setup. Documentation covers npm, pnpm, Yarn, and Bun workflows, giving teams using those package managers a direct path to installation. The tool also preserves selected or all unused hooks, which helps avoid removing existing hook files when updating configuration. Pre-commit and pre-push commands are explicitly supported, and hooks can be skipped through environment variables or Git's --no-verify option.
The trade-off is a narrow scope. simple-git-hooks concentrates on configuring and installing hooks rather than providing a broader development automation platform. Its CI story centers on bypassing hooks, not running hook checks as a CI capability, so teams seeking built-in CI validation should choose a tool with that focus. Projects outside JavaScript and Node.js workflows may also find the package-manager integrations less relevant. For a small project that wants free, file-based hook configuration and straightforward install commands, simple-git-hooks fits well; larger or more integrated engineering environments may need a broader alternative.
Your product? Our editors can test simple-git-hooks in depth and publish a review, labelled as paid · from $99/mo →
simple-git-hooks pricing
simple-git-hooks fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Hook stages | All |
| Shared configuration | Not verified |
| Monorepo support | Not verified |
| CI execution | Not verified |
| Package manager integration | Yes |
| Platform support | Not verified |
| Built for | Small business (editorial estimate) |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 20 Oct 2026 |
Alternatives to simple-git-hooks
- hkAn open-source, CI-ready hook manager with broad lifecycle and monorepo coverage.8.9
- pre-commitA free, cross-platform framework for standardizing hooks across languages, repositories, and CI.8.8
- HuskyA free, cross-platform Git-hook manager with coverage for every client-side hook.7.9
See all simple-git-hooks alternatives →
Used simple-git-hooks? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used simple-git-hooks for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
simple-git-hooks is listed in our Git Hooks Management Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/simple-git-hooks/"><img src="https://www.itechguides.com/best/badge/simple-git-hooks.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update