Skip to content

hiromasaono/brew-cask-upgrade-all

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brew-cask-upgrade-all

Requirements

  • macOS
  • ruby

What is this doing

  1. brew update
  2. brew upgrade
  3. check latest version of cask items. uninstall --force and install that have update version.
  4. brew cleanup
  5. brew cask cleanup

usage

$ brew-cask-upgrade-all [-f]

-f : force upgrade that newest version is 'latest'
# stdout log

brew update:
Already up-to-date.
brew upgrade:

hosts
latest  : 1.3
current : 1.3

iterm2
latest  : 3.0.8
current : 3.0.7
iterm2 updating..
==> Removing App: '/Applications/iTerm.app'
==> Satisfying dependencies
complete
==> Downloading https://iterm2.com/downloads/stable/iTerm2-3_0_8.zip
==> Verifying checksum for Cask iterm2
==> Moving App 'iTerm.app' to '/Applications/iTerm.app'
🍺  iterm2 was successfully installed!
iterm2 updated !!!

java
latest  : 1.8.0_102-b14
current : 1.8.0_102-b14

...

( something upgrade casks , also need your su password. )

...

brew cleanup:

brew cask cleanup:
==> Removing cached downloads
Nothing to do

all of done.

About

like a brew upgrade for cask

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 92.9%
  • Shell 7.1%