Give Claude Code's Bash tool bash 5 and GNU tools on a Mac: a settings.json env block and a SessionStart hook that puts Homebrew's gnubin directories first on the Bash tool's PATH.
-
Updated
Sep 9, 2026 - Shell
Give Claude Code's Bash tool bash 5 and GNU tools on a Mac: a settings.json env block and a SessionStart hook that puts Homebrew's gnubin directories first on the Bash tool's PATH.
To associate your repository with the gnu-coreutils topic, visit your repo's landing page and select "manage topics."