# `mix git_hoox.install`
[🔗](https://github.com/sgerrand/git_hoox/blob/v0.1.0/lib/mix/tasks/git_hoox.install.ex#L1)

Install git_hoox shims.

    mix git_hoox.install              # refuse if user hook exists
    mix git_hoox.install --force      # backup + overwrite shims (and config)
    mix git_hoox.install --dry-run    # plan only, write nothing
    mix git_hoox.install --scaffold   # also write a starter .git_hoox.exs

Detects `core.hooksPath` and worktrees via `git rev-parse --git-path hooks`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
