Function: installHooks()
August 8, 2026 ยท View on GitHub
@plures/praxis / index / installHooks
Function: installHooks()
installHooks(
config?,options?):object
Defined in: src/hooks/install.ts:89
Install Praxis hook scripts into .git/hooks/.
If existing hooks are found, they're renamed to
Parameters
config?
Partial<PraxisHooksConfig> = {}
Partial Praxis hooks configuration (merged with defaults)
options?
Installation options: repoRoot, force (overwrite), verbose
force?
boolean
repoRoot?
string
verbose?
boolean
Returns
object
Lists of installed, skipped, and chained hook names
chained
chained:
GitHookName[]
installed
installed:
GitHookName[]
skipped
skipped:
GitHookName[]