Homebrew brew bundle dump
command offers the same functionality, see this article for an example.
CLI utility for autogenerating .gitignore files to STDOUT
- Written to provide an easy way of generating a brewfile from currently installed brews/casks
- Generating brewfiles makes it easy to migrate to a new mac without forgetting Homebrew packages
$ gem install brewfile
$ brewfile > ~/brewfile
$ brewfile >> ~/brewfile
$ cd ~
$ brew bundle
tap 'caskroom/cask'
# Core Homebrew
brew 'autoconf'
brew 'automake'
brew 'bats'
brew 'bdw-gc'
brew 'cmake'
brew 'coreutils'
brew 'crystal-lang'
brew 'curl'
brew 'dosbox'
brew 'findutils'
brew 'fish'
brew 'gdbm'
brew 'geo'
brew 'gettext'
brew 'git'
brew 'gmp'
brew 'go'
brew 'gradle'
brew 'grep'
brew 'gzip'
brew 'icu4c'
brew 'jq'
brew 'libevent'
brew 'libffi'
brew 'libgpg-error'
brew 'libidn2'
brew 'libksba'
brew 'libogg'
brew 'libpng'
brew 'libtool'
brew 'libunistring'
brew 'libvorbis'
brew 'libyaml'
brew 'libzip'
brew 'llvm'
brew 'mas'
brew 'maven'
brew 'nasm'
brew 'nginx'
brew 'nmap'
brew 'node'
brew 'oniguruma'
brew 'openssl'
brew 'openssl@1.1'
brew 'pcre'
brew 'pcre2'
brew 'perl'
brew 'pkg-config'
brew 'python'
brew 'python3'
brew 'readline'
brew 'redis'
brew 'ruby'
brew 'sdl'
brew 'sdl_net'
brew 'sdl_sound'
brew 'sqlite'
brew 'terraform'
brew 'tldr'
brew 'tmux'
brew 'unrar'
brew 'vim'
brew 'w3m'
brew 'wget'
brew 'xz'
# Cask Apps
cask 'docker-toolbox'
cask 'google-chrome'
cask 'hyper'
cask 'java'
cask 'robo-3t'
cask 'sequel-pro'
cask 'slack'
cask 'spotify'
cask 'vagrant'
cask 'virtualbox'
cask 'wireshark'