Skip to content

plasma0713/brew-cask-upgrade-all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brew-cask-upgrade-all

like a brew upgrade for cask

Installation

curl -O https://raw.githubusercontent.com/imasami/brew-cask-upgrade-all/v1.3.0/brew-cask-upgrade-all.rb

Requirements

  • macOS
  • ruby

Usage

$ ./brew-cask-upgrade-all.rb -h
usage:
  update brew and brew casks.

  -h , --help : this help message.
  -f , --force : force upgrade that newest version is "latest".
  -d , --dry-run : dry run but execute brew update, brew cleanup.
  -c , --count : count updatable casks.
# stdout log

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

brew cask 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.

Support

nop, DIY.

Contributing

Fork the project, create a new branch, make your changes, and open a pull request.

Development

  • framework
    • nop

see also

About

like a brew upgrade for cask

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages