Articles
macOS
macOS errors explained for people who work in the terminal: developer tools, permissions and the commands that fix them.
"zsh: permission denied" when running a script: the execute bit, and other causes
Fix "zsh: permission denied" on macOS or Linux: add the execute bit with chmod +x, check the path is a file and not a folder, and spot noexec mounts and missing rights.
Beginner · 3 min read
macOS Terminal "Operation not permitted", even with sudo: Full Disk Access and SIP
Fix macOS "Operation not permitted" in Terminal, even with sudo: give Terminal Full Disk Access, and understand System Integrity Protection and app permissions.
Beginner · 4 min read
macOS "zsh: command not found: brew": add Homebrew to your PATH
Fix "zsh: command not found: brew" on macOS: Homebrew lives in /opt/homebrew on Apple silicon. Add brew shellenv to .zprofile, or install it if it isn't there.
Beginner · 4 min read
macOS "App is damaged and can't be opened": what it really means, and the safe fix
Fix macOS "App is damaged and can't be opened. You should move it to the Trash": check the signature, remove the quarantine attribute with xattr, and know when not to.
Beginner · 4 min read
macOS "xcrun: error: invalid active developer path": fix it after a macOS update
Fix macOS "xcrun: error: invalid active developer path" when git, make or brew stop working: reinstall the Command Line Tools, or point xcode-select to Xcode.
Beginner · 2 min read