Skip to content

Instantly share code, notes, and snippets.

@johnmeehan
Last active July 4, 2017 13:09
Show Gist options
  • Save johnmeehan/bbd6a359e16a7c9ec5b2ca0a7256de07 to your computer and use it in GitHub Desktop.
Save johnmeehan/bbd6a359e16a7c9ec5b2ca0a7256de07 to your computer and use it in GitHub Desktop.
Homebrew: reinstall packages on another computer

Transfer Homebrew Packages

I want to install my homebrew packages on another computer.

brew leaves - shows you all top-level packages.

brew leaves > installed_homebrew_packages.txt

cat installed_homebrew_packages.txt | xargs brew install
awscli
chromedriver
elasticsearch
freetds
geckodriver
graphviz
imagemagick
postgis
rbenv
redis
tcpflow
unixodbc
wget
yarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment