# Husky

[BASE product page](<https://base.akulich.dev/en/library/husky/>) · [Resource](<https://github.com/typicode/husky>)

ID: husky · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

Connects project Git hooks, allowing required local checks before commits and pushes without manually configuring every clone\.

## Type

Build / code quality tool

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/husky/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/husky/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/husky/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/husky/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/husky/#resource-tasks>)

- Connect consistent project Git hooks
- Connect a hook to a project script and test a successful/failing commit

## Category IDs

- infrastructure
- quality

## Subcategory IDs

- infrastructure\.developer
- quality\.review

## Tags

- Husky
- build
- Development

## Also known as

- typicode/husky
- husky
- github\-hooks\-manager

## [Selection purpose](<https://base.akulich.dev/en/library/husky/#resource-selection>)

Connect consistent project Git hooks

## [Choose this when](<https://base.akulich.dev/en/library/husky/#resource-selection>)

- Connect consistent project Git hooks
- Connect a hook to a project script and test a successful/failing commit

## [Requirements](<https://base.akulich.dev/en/library/husky/#resource-selection>)

- A Git repository and commands available through the hook's PATH; manual installation uses a prepare script and a one\-time husky run\.

## [Limitations](<https://base.akulich.dev/en/library/husky/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.
- Hooks can be skipped through \-\-no\-verify or HUSKY=0, so they do not guarantee that checks are unavoidable\. If devDependencies are not installed, prepare:husky may fail\.

## [Questions before use](<https://base.akulich.dev/en/library/husky/#resource-faq>)

### What can you use for free in Husky?

Code and local use under MIT\.

### What additional costs might arise with Husky?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for Husky?

MIT for the code; dependencies have separate licenses\.

### How do you get started with Husky?

Choose an existing check for the required Git event\. Connect a hook to a project script and test a successful/failing commit\. Add the workflow to scripts or CI with a clear report\.

### Why do Git hooks work in the terminal but not in a GUI?

A GUI may not load the Node version manager or obtain the required PATH\. Husky reads ~/\.config/husky/init\.sh before a hook: configure the version manager there\. A hook is a \.husky/pre\-commit file containing POSIX shell commands, which can run a separate Node script\.

## Sources for the selection guide

- [https://github\.com/typicode/husky](<https://github.com/typicode/husky>)
- [https://raw\.githubusercontent\.com/typicode/husky/HEAD/README\.md](<https://raw.githubusercontent.com/typicode/husky/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/typicode/husky/HEAD/LICENSE](<https://raw.githubusercontent.com/typicode/husky/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)
- [https://typicode\.github\.io/husky/how\-to\.html](<https://typicode.github.io/husky/how-to.html>)

## [Possible workflow](<https://base.akulich.dev/en/library/husky/#resource-scenario>)

Connect consistent project Git hooks\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A repository, package manifests, and configuration\.
- A compatible runtime and the target build command\.

## Steps

1. Choose an existing check for the required Git event\.
2. Connect a hook to a project script and test a successful/failing commit\.
3. Add the workflow to scripts or CI with a clear report\.

## Check your result

- A clean copy of the project reproduces the result\.
- Errors produce a nonzero exit code and clear diagnostics\.

## [License](<https://base.akulich.dev/en/library/husky/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/husky/#resource-sources>)

- [Official source](<https://github.com/typicode/husky>)
- [Official source](<https://raw.githubusercontent.com/typicode/husky/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/typicode/husky/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)
- [Official source](<https://typicode.github.io/husky/how-to.html>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
