macOS users: what have you installed with brew?
You can get a list of all installed formulae that are not dependencies of another installed formula via `brew leaves`
Here are mine: age age-plugin-yubikey bat cmake fd ffmpeg fnm fzf gh git gnu-getopt go jq lazygit lsd neovim pinentry-mac qrencode reattach-to-user-namespace restic ripgrep rustup-init starship tmux tree ykman yt-dlp yubikey-agent zoxide zsh zsh-autosuggestions zsh-completions
30 comments
[ 4.5 ms ] story [ 74.0 ms ] threadI'm not sure the story behind all of those, but I use several of those CLI tools regularly. brew install __ usually gets me what I went when I'm on a Mac and a linux tool is missing when I try to run it.
I'd like brew to handle per-user installations better (you can with a flag, but it'll still have path issues with some installs), but I'm thankful for it overall.
autoconf bumpversion cocoapods doxygen ffmpeg gnu-tar gobject-introspection gradle guile llvm make node@10 nvm openapi-generator openjdk@11 openjdk@17 subversion yarn
I also don't offhand know if those "Build Errors" are their bottle build errors, or it reports all build errors
I'm not ignoring your question, but it's also meaningless to post any such thing on HN since
It has its criticisms, but it’s easy to use and fast enough for the amount I need to use it.
kevin@Kevins-MacBook-Pro ~> brew leaves
The exception is command line tools, those I usually install with brew. (pyenv, ffmpeg, etc)
abseil gmp libunistring p11-kit sqlite
autoconf gnutls libuv pcre2 typescript
bdw-gc guile libyaml pkg-config unbound
brotli icu4c lz4 protobuf wget
c-ares jansson m4 python@3.11 xz
ca-certificates libevent mpdecimal rbenv youtube-dl
cmake libidn2 nettle readline yt-dlp
gdbm libnghttp2 node ruby-build zstd
gettext libtasn1 openssl@1.1 rust
git libtool openssl@3 sbcl
even better I just learned from this thread:
brew leaves gives:
cmake
gdbm
git
gnutls
guile
jansson
protobuf
rbenv
rust
sbcl
typescript
wget
youtube-dl
yt-dlp
Also I found this cool brew bash function i thought i share this here
brewpackages (){ brew list --formula | xargs -n1 -P8 -I {} \ sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^.[0-9] files, \(.\)).$/{} \1/'" | \ sort -h -r -k2 - | column -t }
This allows you to view how much space each package is taking
Maybe try now
But strangely, your comment is rendering with a couple of spans of italics. Here is a paste, with "i" tags and "<\n>" marking the odd rendering I see:
brewpackages (){ brew list --formula | xargs -n1 -P8 -I {} \ sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^.<i>[0-9]</i> files, \<\n>(.\<i>))</i>.$/{} \1/'" | \ sort -h -r -k2 - | column -t }
is HN consuming your markup unexpectedly ?
https://paste.sh/pHKSPU4w#EAjzygEb4qLQwNmFxqRcQNBO
I have added the function to the paste link
You can install it w/ brew install schappim/ocr/ocr
[1] https://github.com/schappim/macOCR
Which is handy if I ever feel like wiping my Mac fresh and running a single command to install everything.