Home Brew

packages not provided with mac os

HomeBrew

on Mac os needs developer Command Line Tools

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), 
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrunxcrun: 

Example usage:
  brew search [text|/regex/]
  brew (info|home|options) [formula]
  brew install formula…
  brew update
  brew upgrade [formula]
  brew uninstall formula…
  brew list [formula]

Troubleshooting:
  brew config
brew config
HOMEBREW_VERSION: 3.4.11
ORIGIN: https://github.com/Homebrew/brew
HEAD: 30e3d8883cde265cbc16ff94b49a3ac14137590e
Last commit: 6 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 343c0af7ac2f629f4ec1295c3ef965fcc17f1a6d
Core tap last commit: 2 weeks ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.2HaBRV9xeY/org.xquartz:0
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 13.1.6 build 1316
Git: 2.32.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.4-arm64
CLT: 13.4.0.0.1.1651278267
Xcode: 13.4.1
Rosetta 2: false

brew doctor brew install -vd formula Developers: brew create [URL [--no-fetch]] brew edit [formula] https://github.com/Homebrew/brew/blob/master/docs/formula-Cookbook.md Further help: man brew brew help [command] brew home

Second run