# Claude Code hooks

Run commands at Claude Code lifecycle events\.

Canonical: https://claudelist.com/listings/claude-code-hooks

Category: Hooks

Source: official · Anthropic

Source checked: 2026-10-14

Website: https://code.claude.com/docs/en/hooks

The hooks reference lists supported events, inputs, outputs and exit behavior.

## Install or set up

1. In Claude Code, run `/hooks` to configure an event hook, or add a `hooks` entry to project `.claude/settings.json`. Review the linked docs for event names, command input, and permissions.

Installation guide: https://code.claude.com/docs/en/hooks
