All Projects → rstacruz → homebrew-backup

rstacruz / homebrew-backup

Licence: other
Back up your Homebrew profile

Programming Languages

shell
77523 projects

homebrew-backup

Back up your Homebrew profile

⚠️ Deprecation notice

As of Homebrew v1.0.0, Homebrew now comes with a brew bundle dump command. homebrew-backup continues to be functional, but I recommend moving to brew bundle instead.

Introduction

brew tap rstacruz/backup
brew backup

Creates the following files:

  • brew.sh — List of Homebrew packages
  • cask.sh - List of cask packages, if Cask is installed
  • index - List of versions

On a different machine, you can run brew.sh and cask.sh to reinstall the same packages.

Optional, but recommended: commit these files into a Git repo and share them to the world!


Examples

  • Example brew.sh:
# taps
brew tap homebrew/versions
brew tap neovim/neovim

# packages
brew install aria2
brew install autoconf
brew install autojump --HEAD
...
  • Example cask.sh:

    # taps
    brew tap caskroom/cask
    brew tap caskroom/fonts
    brew install caskroom/cask/cask
    
    # casks
    brew cask install alfred
    brew cask install appcleaner
    brew cask install dropbox
    ...

NB: API still subject to change


Thanks

brew-backup © 2015+, Rico Sta. Cruz. Released under the MIT License.
Authored and maintained by Rico Sta. Cruz with help from contributors (list).

ricostacruz.com  ·  GitHub @rstacruz  ·  Twitter @rstacruz

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].