Forrest logo
back to the brew tool

brew-cask:tldr:1b678

brew-cask: Upgrade an installed cask (if no cask name is given, all installed casks are upgraded).
$ brew upgrade --cask ${cask_name}
try on your machine

This command is used in macOS to upgrade an installed application that was installed using Homebrew Cask. Homebrew Cask is an extension to Homebrew, a popular package manager for macOS.

Here's the breakdown of the command:

  • brew upgrade: This is the main Homebrew command to upgrade installed packages or applications.
  • --cask: This flag is used to specify that the package being upgraded is a cask package. Cask packages are generally non-command line applications that are installed in the Applications folder rather than the command line.
  • ${cask_name}: This is a placeholder variable that should be replaced with the actual name of the cask package you want to upgrade.

So, when you run this command, Homebrew will look for the specified cask package and perform an upgrade to the latest version if one is available.

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