An experiment in automating my laptop’s setup with Ansible.
Things that this includes:
- Homebrew packages.
- Cask applications.
- Automated file organisation with maid.
- Installation of my dotfiles.
- Organising my shell environment.
- Installing some fonts I like to use.
- Ensuring a few RubyGems and NPM packages I use are installed.
- Installing config files and preferences for miscellaneous apps.
- Configuration of OS X default settings.
Basically, the goal is to automate as much of my computer’s setup as possible.
Run the following command in a terminal.
curl https://raw.githubusercontent.com/cobyism/ricochet/master/bootstrap.sh | sh
This will:
- Clone Ricochet into
~/code/ricochet
. - Run strap, to get the following installed:
- Xcode command line tools, xcode license agreed to, etc.
- Homebrew, as well as the
brew bundle
command, Caskroom, and other niceties. - Miscellaneous OS X stuff (ensuring filevault is on, disabling java in Safari, fetch software updates etc.)
- Install Ansible, which this project uses to do stuff.
- Run Ricochet for the first time, putting everything in place.
Run the following command to ensure everything is set up as it should be.
ricochet all
Once ricochet has been pulled down and run once, you can just refresh various aspects of your setup as you add stuff to the lists:
ricochet apps
will fetch all homebrew/cask packages and fonts.ricochet dev
will install all gems and npm packages.ricochet dotfiles
will ensure all dotfiles are symlinked into~
.ricochet setup
will configure osx defaults, maid automation, and misc app preferences.- etc.
Some things to be aware of:
- Removing things from a list won’t remove it from your system.
- This could mess your system up horribly. Use at your own peril.
MIT, so go 🔩s.