Skip to content

rstacruz/homebrew-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bc09a22 · Sep 21, 2016

History

17 Commits
Dec 17, 2015
Dec 17, 2015
Sep 21, 2016

Repository files navigation

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

About

Back up your Homebrew profile

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages