Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

@vercel/git-hooks

Free#21 of 26 in Git Hooks Management Tools

@vercel/git-hooks: A lightweight, open-source choice for basic npm or Yarn pre-commit automation. Ranked #21 of 26 in Git Hooks Management Tools by our editors (6.1/10); pricing: Open source; best for vercel or npm projects needing basic pre-commit hooks.

6.1/10Editor score
@vercel/git-hooks6.1 Visit Vercel

At a glance

  • Editor score
    6.1 / 10
  • Pricing
    Open source
  • Best for
    Vercel or npm projects needing basic pre-commit hooks
  • Paid from
    Free
  • Hook stages
    Commit
  • Founded
    2015
  • Facts checked
    20 Oct 2026
  • Where it wins

    • Runs multiple pre-commit scripts sequentially.
    • Detects npm or Yarn and needs no runtime dependencies.
    • Symlinked hooks include checks intended to avoid overwriting existing files.
  • Where it doesn't

    • Coverage is focused on the Git pre-commit stage.
    • Designed around JavaScript package configuration and npm/Yarn workflows.
    • Its configuration model is limited to git-* scripts or a top-level git object.

Our verdict on @vercel/git-hooks

@vercel/git-hooks is an open-source npm package from Vercel for JavaScript projects that need basic Git pre-commit automation. It installs and manages hooks from a project's package configuration, letting teams run one command or several scripts in sequence. The package fits Vercel, npm, and Yarn-oriented repositories that want a small hook-management layer rather than a broad workflow system.

Setup centers on the package manager already used by the project. @vercel/git-hooks detects the installation environment and supports npm- and Yarn-compatible workflows, reducing configuration choices during installation. It creates symlinked hook files and includes anti-overwrite checks intended to protect existing hooks. Configuration can use script names following the git-* convention or a top-level git configuration object, giving projects two package-based ways to declare pre-commit behavior.

The standout capability is straightforward sequential execution: multiple hook scripts can run in order from the project configuration. That makes the package suitable for checks such as formatting, linting, or other repository commands that belong before a commit. Its scope is deliberately narrow, with the category specification centered on the commit stage and documentation demonstrating pre-commit use. Teams needing broader lifecycle coverage, more extensive orchestration, or workflows outside JavaScript package managers should compare alternatives built for those requirements. Choose @vercel/git-hooks when a lightweight npm package and simple pre-commit configuration are the priority; choose another tool when hook-stage breadth is central.

Your product? Our editors can test @vercel/git-hooks in depth and publish a review, labelled as paid · from $99/mo →

@vercel/git-hooks pricing

Plans Open sourceFree Free to use — no paid tier required for the core job.
See plans on github.com

@vercel/git-hooks fact sheet

Free planNot verified
Paid fromFree
Hook stagesCommit
Shared configurationNot verified
Monorepo supportNot verified
CI executionNot verified
Package manager integrationYes
Platform supportNot verified
PricingOpen source
Websitegithub.com
Facts checked20 Oct 2026

Alternatives to @vercel/git-hooks

See all @vercel/git-hooks alternatives →

Used @vercel/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 @vercel/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

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — @vercel/git-hooks 6.1/10

@vercel/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/vercel-git-hooks/"><img src="https://www.itechguides.com/best/badge/vercel-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