From 3b9b0a0e6a4b26feeb187364593f883584acd9e2 Mon Sep 17 00:00:00 2001 From: Dennis Beatty Date: Thu, 28 May 2026 16:12:43 -0600 Subject: [PATCH] remove --no-quarantine flag Homebrew has removed support for the --no-quarantine flag: https://github.com/Homebrew/brew/issues/20755#issuecomment-3330984446 This updates the README to add the xattr command to un-quarantine the app. It could alternatively be provided as a postinstall script, but this way the user is at least aware that they're un-quarantining the app instead of having the postinstall script do it without their knowledge. --- README.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 859cea01..889841d7 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,8 @@ This is a public Homebrew tap for easy installation of HumanLayer tools. No auth ```bash # Install directly without adding the tap first -brew install --cask --no-quarantine humanlayer/humanlayer/codelayer +brew install --cask humanlayer/humanlayer/codelayer +xattr -r -d com.apple.quarantine /Applications/CodeLayer.app ``` ### Alternative: Add Tap First @@ -18,7 +19,8 @@ brew install --cask --no-quarantine humanlayer/humanlayer/codelayer brew tap humanlayer/humanlayer # Install the cask -brew install --cask --no-quarantine codelayer +brew install --cask codelayer +xattr -r -d com.apple.quarantine /Applications/CodeLayer.app ``` ## PATH Configuration @@ -58,12 +60,6 @@ brew upgrade --cask codelayer When upgrading, Homebrew automatically updates the symlinks to point to the new app version. -## Set --no-quarantine as default - -```bash -export HOMEBREW_CASK_OPTS="--no-quarantine" -``` - ## Troubleshooting PATH Issues ### Binary not found after installation @@ -111,4 +107,4 @@ If Claude Code shows errors about `humanlayer` not being found: - **Production**: Uses bundled binaries from `/Applications/HumanLayer.app/Contents/Resources/bin/` - **Development**: Should use globally installed `humanlayer` (via npm/bun) -- **Never mix**: Don't try to use production binaries in development \ No newline at end of file +- **Never mix**: Don't try to use production binaries in development