Forrest logo
back to the brew tool

brew:warp:206e9a638bbd7c56c7d69c72089449ce

Pin a formula to its current version
$ brew pin ${formula_name}
try on your machine

The command "brew pin" is used in Homebrew, a package manager for macOS, to pin a specific formula.

The "brew pin" command is followed by the name of the formula (software package) that you want to pin. When a formula is pinned, it means that it will not be updated or upgraded by Homebrew. This is useful when you want to hold on to a specific version of a package and prevent it from being automatically updated to a newer version.

For example, if you have a formula called "package1" and you want to pin it, you would use the command "brew pin package1". Once pinned, Homebrew will no longer update "package1" whenever you run the "brew upgrade" command.

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