6 ms·
Ditto. I install almost everything via brew and brew cask, and store the list of packages in git. It makes setting up a new machine a breeze. Thanks for all you
by dve 10y ago
Ditto. I install almost everything via brew and brew cask, and store the list of packages in git. It makes setting up a new machine a breeze. Thanks for all your hard work!
- krat0sprakhar 10y agoThis is a cool idea! How does one go about doing this though? Is there a flag to output a text file with the names of installed versioned packages?
- geerlingguy 10y agoHere's one example: https://github.com/geerlingguy/mac-dev-playbook https://github.com/geerlingguy/mac-dev-playbook Makes it a lot simpler to do a clean OS install every upgrade, and to make sure all three of my Macs are perfectly in sync!
- sambe 10y agoI use `brew bundle` for this.
- dve 10y agoUsing brew bundle, run `brew bundle --help` for info. I then store the Brewfile along with my other dotfiles
- mikemcquaid 10y agoThe officially supported thing is: https://github.com/Homebrew/homebrew-bundle https://github.com/Homebrew/homebrew-bundle See my Brewfile in my dotfiles for how I use it to install my stuff: https://github.com/MikeMcQuaid/dotfiles/blob/master/Brewfile https://github.com/MikeMcQuaid/dotfiles/blob/master/Brewfile If you want to go a step further there's also Strap which will bootstrap your macOS system with some sensible defaults and install Homebrew, your dotfiles and your Brewfile: https://github.com/mikemcquaid/strap https://github.com/mikemcquaid/strap Finally, if you're interested how I combined these to replace Boxen at GitHub (our macOS system/project bootstrap tool using Puppet) read this: http://mikemcquaid.com/2016/06/15/replacing-boxen/ http://mikemcquaid.com/2016/06/15/replacing-boxen/
- Singletoned 10y agoThis is utterly brilliant! Thank you. I've been looking like this for quite a while. I'm still looking through it all, but I don't suppose you have a solution for setting System Preferences, particularly Trackpad settings and remapping the Caps Lock key to Ctrl?
- mikemcquaid 10y agoI don't use it but https://github.com/benbalter/plister https://github.com/benbalter/plister should do that. There's an open issue to integrate it with Strap, too: https://github.com/benbalter/plister/issues/2 https://github.com/benbalter/plister/issues/2
- spinningarrow 10y agoHere's another example of a simple shell script I use to do this: https://github.com/spinningarrow/up/blob/master/up https://github.com/spinningarrow/up/blob/master/up