Karim Benbourenane's personal macOS installer script. For both fun and profit. Aquick way to prepare a fresh machine to have all the tools of the trade as well as personal artifacts, the way I like it.
/bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/karimbenbourenane/macos-installer/master/configurator)"
Paste that into a macOS Terminal and hit enter
to run the installer.
In the following order, this script
- Installs the
chezmoi
dotfile manager - Initializes
chezmoi
using my dotfile repository- The dotfile repository is not public
- Pulls down and stages all the latest dotfiles in that repository
- Includes configuration for
Homebrew
brew bundles viaBrewfile
- Includes configuration for
vim-plug
vim plugin manager viavimrc
- Includes configuration for several other things like ssh, git, and gpg
- Includes configuration for
- Creates folder structure for XDG Base Directory Specification
- Installs
Oh My Zsh
- Installs the
Homebrew
package manager - Installs all
Homebrew
bundles inBrewfile
- Installs static PyCharm script
- Installs
vim-plug
and vim plugins invimrc
- Installs Github Copilot for command line
No. If you're reading this and you're not me, this script of of zero value to you. It requires access to the private dotfile repository, which only I have access to. I'm hosting this project publicly so that I can quickly bootstrap a new machine at a moments notice by running a single command.
Because I wanted to create the most brain-dead way of setting up a new development machine, and preparing this script to be used at a moments notice was the path of least resistance. I didn't write this for you, I wrote it so I wouldn't forget how to run this in the future.
Once everything is installed, you're ready to go. The update
function is loaded into each Terminal session, and can be executed to keep everything up to date in one convenient shell command.