Skip to content

NathanJang/homebrew-cask-upgrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebrew-cask-upgrade

A small bash script to upgrade homebrew-cask packages.

Currently, homebrew-cask does not have an upgrade command unlike homebrew.

This script is an expanded version of @stgtpep's comment here.

This script is not supported by the maintainers of homebrew-cask. They will likely object to this hasty implementation. This script merely provides basic upgrading functionality and the removal of old versions.

Installation

brew tap nathanjang/cask-upgrade
brew install brew-cask-upgrade

Usage

Basic:

brew cask-upgrade

To upgrade, then remove old versions after the new version is installed:

brew cask-upgrade -c

or

brew cask-upgrade --clean-old

Note that old versions are removed after brew cask install is finished. It will therefore not remove anything from packages that it is not upgrading.

Releases

No releases published

Packages

No packages published