From a56dadd3904bf1264c68bee8a42a8921fcc2eaeb Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 17 Mar 2026 13:12:27 -0500 Subject: [PATCH] Add Homebrew install instructions to README Add turenlabs/tap as the recommended install method alongside the existing install script and build-from-source options. Co-Authored-By: Claude Opus 4.6 (1M context) --- README.md | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 870eb9f..4bbe2aa 100644 --- a/README.md +++ b/README.md @@ -32,17 +32,37 @@ Parsed trees and taint flows are shared across layers — each file is parsed on ## Installation +### Homebrew (recommended) + ```bash -# Quick install +brew install turenlabs/tap/batou && batou-setup +``` + +This installs the binary and configures Claude Code hooks automatically. + +To update: + +```bash +brew upgrade batou +``` + +### Install script + +```bash +# Quick install (downloads binary + configures hooks globally) curl -fsSL https://raw.githubusercontent.com/turenlabs/batou/main/install.sh | bash -# Install + configure hooks for a project +# Install + configure hooks for a specific project curl -fsSL https://raw.githubusercontent.com/turenlabs/batou/main/install.sh | bash -s -- --setup /path/to/project -# Or install globally +# Or install + configure hooks globally curl -fsSL https://raw.githubusercontent.com/turenlabs/batou/main/install.sh | bash -s -- --global +``` + +### Build from source -# Build from source (requires Go 1.21+, CGo, gcc/clang) +```bash +# Requires Go 1.21+, CGo, gcc/clang git clone https://github.com/turenlabs/batou.git && cd batou && make build && make install ```