Documentation

Install CLI

Install the githook CLI for Cloud or self-hosted usage.

Use the CLI to list providers, manage installations, and automate rules.

Install

Homebrew (macOS/Linux)

brew install relaymesh/homebrew-relaymesh/githook

Install script (macOS/Linux)

curl -fsSL https://raw.githubusercontent.com/relaymesh/githook/refs/heads/main/install.sh | sh

From source

git clone https://github.com/relaymesh/githook.git
cd githook
go build -o githook ./main.go

Verify

githook --version

Connect to Cloud or OSS

Set the endpoint to your Githook Cloud URL or your self-hosted server:

githook --endpoint https://api.your-domain.com providers list

Use OAuth2 client credentials for non-interactive access.