Difference between revisions of "Brew upgrade --help"

From wikieduonline
Jump to navigation Jump to search
(Created page with "Usage: brew upgrade [options] [outdated_formula|outdated_cask ...] Upgrade outdated casks and outdated, unpinned formulae using the same options they were originally installe...")
 
Line 1: Line 1:
 +
 +
<pre>
 
Usage: brew upgrade [options] [outdated_formula|outdated_cask ...]
 
Usage: brew upgrade [options] [outdated_formula|outdated_cask ...]
  
Line 104: Line 106:
 
   -q, --quiet                      Make some output more quiet.
 
   -q, --quiet                      Make some output more quiet.
 
   -h, --help                      Show this message.
 
   -h, --help                      Show this message.
 
+
</pre>
  
  
 
{{brew upgrade}}
 
{{brew upgrade}}

Revision as of 18:01, 28 May 2023

Usage: brew upgrade [options] [outdated_formula|outdated_cask ...]

Upgrade outdated casks and outdated, unpinned formulae using the same options
they were originally installed with, plus any appended brew formula options. If
cask or formula are specified, upgrade only the given cask or formula
kegs (unless they are pinned; see pin, unpin).

Unless HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set, brew upgrade or brew
reinstall will be run for outdated dependents and dependents with broken
linkage, respectively.

Unless HOMEBREW_NO_INSTALL_CLEANUP is set, brew cleanup will then be run for
the upgraded formulae or, every 30 days, for all formulae.

  -d, --debug                      If brewing fails, open an interactive
                                   debugging session with access to IRB or a
                                   shell inside the temporary build directory.
  -f, --force                      Install formulae without checking for
                                   previously installed keg-only or non-migrated
                                   versions. When installing casks, overwrite
                                   existing files (binaries and symlinks are
                                   excluded, unless originally from the same
                                   cask).
  -v, --verbose                    Print the verification and postinstall steps.
  -n, --dry-run                    Show what would be upgraded, but do not
                                   actually upgrade anything.
      --formula, --formulae        Treat all named arguments as formulae. If no
                                   named arguments are specified, upgrade only
                                   outdated formulae.
  -s, --build-from-source          Compile formula from source even if a
                                   bottle is available.
  -i, --interactive                Download and patch formula, then open a
                                   shell. This allows the user to run
                                   ./configure --help and otherwise determine
                                   how to turn the software package into a
                                   Homebrew package.
      --force-bottle               Install from a bottle if it exists for the
                                   current or newest version of macOS, even if
                                   it would not normally be used for
                                   installation.
      --fetch-HEAD                 Fetch the upstream repository to detect if
                                   the HEAD installation of the formula is
                                   outdated. Otherwise, the repository's HEAD
                                   will only be checked for updates when a new
                                   stable or development version has been
                                   released.
      --ignore-pinned              Set a successful exit status even if pinned
                                   formulae are not upgraded.
      --keep-tmp                   Retain the temporary files created during
                                   installation.
      --debug-symbols              Generate debug symbols on build. Source will
                                   be retained in a cache directory.
      --display-times              Print install times for each package at the
                                   end of the run.
      --cask, --casks              Treat all named arguments as casks. If no
                                   named arguments are specified, upgrade only
                                   outdated casks.
      --skip-cask-deps             Skip installing cask dependencies.
  -g, --greedy                     Also include casks with auto_updates true
                                   or version :latest.
      --greedy-latest              Also include casks with version :latest.
      --greedy-auto-updates        Also include casks with auto_updates true.
      --[no-]binaries              Disable/enable linking of helper executables
                                   (default: enabled).
      --require-sha                Require all casks to have a checksum.
      --[no-]quarantine            Disable/enable quarantining of downloads
                                   (default: enabled).
      --appdir                     Target location for Applications (default:
                                   /Applications).
      --keyboard-layoutdir         Target location for Keyboard Layouts
                                   (default: /Library/Keyboard Layouts).
      --colorpickerdir             Target location for Color Pickers (default:
                                   ~/Library/ColorPickers).
      --prefpanedir                Target location for Preference Panes
                                   (default: ~/Library/PreferencePanes).
      --qlplugindir                Target location for QuickLook Plugins
                                   (default: ~/Library/QuickLook).
      --mdimporterdir              Target location for Spotlight Plugins
                                   (default: ~/Library/Spotlight).
      --dictionarydir              Target location for Dictionaries (default:
                                   ~/Library/Dictionaries).
      --fontdir                    Target location for Fonts (default:
                                   ~/Library/Fonts).
      --servicedir                 Target location for Services (default:
                                   ~/Library/Services).
      --input-methoddir            Target location for Input Methods (default:
                                   ~/Library/Input Methods).
      --internet-plugindir         Target location for Internet Plugins
                                   (default: ~/Library/Internet Plug-Ins).
      --audio-unit-plugindir       Target location for Audio Unit Plugins
                                   (default:
                                   ~/Library/Audio/Plug-Ins/Components).
      --vst-plugindir              Target location for VST Plugins (default:
                                   ~/Library/Audio/Plug-Ins/VST).
      --vst3-plugindir             Target location for VST3 Plugins (default:
                                   ~/Library/Audio/Plug-Ins/VST3).
      --screen-saverdir            Target location for Screen Savers (default:
                                   ~/Library/Screen Savers).
      --language                   Comma-separated list of language codes to
                                   prefer for cask installation. The first
                                   matching language is used, otherwise it
                                   reverts to the cask's default language. The
                                   default value is the language of your system.
  -q, --quiet                      Make some output more quiet.
  -h, --help                       Show this message.


brew upgrade

Advertising: