If you do not have Brew on your Mac, install it first.
Instead of manually installing Homebrew formulae and AppStore apps,
I use the brew bundle
command to automate their installation.
This is 2 steps process:
- Create a
Brewfile
I created this Brewfile with the list of Brew formulae and AppStore apps I want to install on a new Mac. Of course, you can tweak it in your cloned repository to match your needs. You need to comment the line
mas 'Things', id: 904280696
(because this is my private copy of theThings
Mac AppStore app and it won't work for you). - Start the instalation
brew bundle
These are the dotfiles I use for bash, zsh, vim, git, tmux, espanso... I install them using rcm like so:
mkdir $HOME/dev/Perso
cd $HOME/dev/Perso
git clone git://github.com/ebouchut/dotfiles.git
cd dotfiles
RCRC=rcrc rcup -v