Skip to content
ohsudo, Home

Tags

#homebrew

command not found: brew
macOS

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

xcrun: error
macOS

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