Forrest logo
back to the brew tool

brew:warp:efa5f36f9d94e00a1fff3f81f9b1aecd

Unpin a homebrew formula
$ brew unpin ${formula_name}
try on your machine

The command brew unpin ${formula_name} is used in Homebrew, a package manager for macOS, and it unpins a specific formula from being upgraded when you run brew upgrade.

When a formula is pinned using the brew pin command, it marks the specific formula as "pinned," preventing it from being updated when you run brew upgrade. This can be useful if you have a specific version of a formula that you want to keep and avoid accidental upgrades.

The brew unpin ${formula_name} command reverses this action. It unpins the specified formula, allowing it to be upgraded again when you run brew upgrade. By doing so, you allow Homebrew to update that formula to the latest version available.

Replace ${formula_name} with the actual name of the formula you want to unpin. For example, if you want to unpin the formula named "mysql," you would use the command brew unpin mysql.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the brew tool