MacOS clean installation setup

less than 1 minute read


Having just embarked in the thrilling adventure of a clean install of Mojave, I thought it would be nice to write it down to suffer less next time :)

So here is the listing of most of the actions necessary for setting up a new install:

/usr/bin/ruby -e "$(curl -fsSL"

brew install git zsh pyenv stow ctag fzf tmux bat gdb task ranger

$(brew --prefix)/opt/fzf/install

brew cask install firefox google-chrome xquartz macpass dropbox sublime-text typora

sh -c "$(curl -fsSL"

git clone "$ZSH_CUSTOM/themes/spaceship-prompt"

ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$HOME/.oh-my-zsh/themes/spaceship.zsh-theme"

echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.zshrc

CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v PYTHON3_VERSION

CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v PYTHON2_VERSION


brew install pyenv-virtualenvwrapper

git clone

cd c1-dotfiles && stow zsh_macos vim_macos taskwarrior zathura 

git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

brew tap koekeishiya/formulae
brew install chunkwm
brew install koekeishiya/formulae/skhd

git clone ~/.vim/bundle/Vundle.vim

brew install macvim #need to quit session after

brew tap zegervdv/zathura

brew install zathura zathura-pdf-poppler