Home Brew

packages not provided with mac os


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]

  brew config 
brew config
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_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.2HaBRV9xeY/org.xquartz:0
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
Xcode: 13.4.1
Rosetta 2: false


Adds eval "$(/opt/homebrew/bin/brew shellenv)" to login profile which:
Modifies the login profile to have brew directories first
and adds:

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

brew help list

brew list, ls [options] [installed_formula|installed_cask …]

List all installed formulae and casks. If formula is provided, summarise the paths within its current keg.
If cask is provided, list its artifacts.

only formulae, or treat arguments as formulae.
> brew list formula
adns       gdb      gpg-agent       libestr       libksba        nettle       pkg-config  sqlite
bdw-gc     gdbm     guile-unusedQQ  libev         libtasn1       nghttp2      pth         tcl-tk
blueutil   gettext  htop            libevent      libtool        npth         python373   xz
c-ares     gmp      htop-osx        libffi        libunistring   openssl      python@3.9
coreutils  gnupg    influxdb        libgcrypt     libusb         openssl@1.1  readline
dfu-util   gnupg2   jemalloc        libgpg-error  libusb-compat  p11-kit      rsyslog
dirmngr    gnutls   libassuan       libidn2       mpdecimal      pinentry     smartmontools
/Volumes/DATA/usr/local/bin/> brew list --formula influxdb
only casks, or treat named arguments as casks.
-full-name Output fully-qualified names, unless --full-name, --versions or pinned -l, -r and -t) are passed to ls
-multiple show formulae with multiple versions .
-pinned pinned formulae, or
See pin, unpin.
-1 one entry per line. default when output is not to a terminal.
-l long format. Has no effect when a formula or cask name is passed as an argument.
-r oldest first.(Reverse)
No effect when a formula or cask name is passed as an argument.
-t most recently first.
No effect when a formula or cask name is passed as an argument.
Display debugging information.

Second run