DEV Community

Jie
Jie

Posted on • Updated on • Originally published at jma.im

Using Brewfile to automatic setup macOS from scratch

brew bundle

https://github.com/Homebrew/homebrew-bundle

The bundle is automatically installed once it is used.

dump current apps to Brewfile

brew bundle dump
Enter fullscreen mode Exit fullscreen mode

Import from Brewfile

Run the cmd from the same folder of Brewfile

brew bundle
Enter fullscreen mode Exit fullscreen mode

I put it in my dotfiles. This one is mine

Top comments (0)