Skip to content

Support us

Created: 2021-09-02 | Last update: 2022-06-18

Brew Snippets

Brew Pinns - Freez and Unfreez Specific Packages

This will alow you to pin (freez update) to specific packages to your Homebrew installation and then unfreeze them.

List of packages that you freeze

brew list --pinned

Freeze Version

brew pin <formula>

Unfreeze Version

brew unpin <formula>

Uninstall Brew Package and Dependencies

Remove package's dependencies (does not remove package):

brew deps [FORMULA] | xargs brew remove --ignore-dependencies

Remove package:

brew remove [FORMULA]

Reinstall missing libraries:

brew missing | cut -d: -f2 | sort | uniq | xargs brew install

Comments