💻🍺 MURG: MacOS Ultimate Reinstall Guide
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


MURG: MacOS Ultimate Reinstall Guide

Latest update: 12/02/2018

My ultimate list for Don't Panic! when I've got to reinstall everything from scratch on a new mac or after a format.

For a longer reading with explanations about each package, I suggest you to visit this awesome guide by Sourabh Bajaj: http://sourabhbajaj.com/mac-setup/ .


Package managers:

One good idea would be to always have a list of all packages currently installed on your system so that whenever you'll be doing a clean reinstall you know exactly which packages you need.

Using homebrew, this can be as simple as that:

brew leaves > brew_installed_packages.txt

For cask apps:

brew cask list > brew_cask_installed_packages.txt

  1. homebrew

    The missing macOS packager!



    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    Get info on package: brew info packagename
    Search pkgs: brew search packagename
    Install pkgs: brew install packagename
    Show installed pkgs: brew list

  2. homebrew cask

    For installing apps view brew.


    brew tap caskroom/cask

Command line tools:

  1. wget

    brew install wget

  2. git

    source control!

    brew install git

  3. XCode command line tools

    1. check if xcode is installed: xcode-select -p
    2. then xcode-select --install
    3. check if installation went good: gcc --version


  1. oh-my-zsh



    via curl:

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

    via wget:

    sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

    Theme: ZSH_THEME="zhann"

    Font: Menlo 11 pt.

Text editor

  1. atom-icon

    The open source hackable text editor for the 21st Century

    brew cask install atom

  2. Visual Studio Code


    The open source text editor from windows, with great performance

    brew cask install visual-studio-code


    1. ext install Shan.code-settings-sync to share vscode settings among multiple machines
  3. Macdown


    brew cask install macdown

Javascript Dev:

  1. Nodejs


    1. brew install node will install both node and npm

    2. check that node and npm are correctly installed:

      node -v

      npm -v

  2. NodeJS version manager

    For easing switching between node versions, LTS, etc..


    npm install -g n

  3. Gulp

    Instally globally:

    npm install -g gulp

    and locally to the project:

    npm install --save-dev gulp



Transform your plain text into static websites and blogs!

  1. Install another ruby instead of the system one: brew install ruby
  2. gem install jekyll
  3. gem install bundle


  1. brew install python3

    Along with Python 3, Homebrew will install pip, setuptools and wheel.

  2. Additional packages:

    see also: installing-keras-for-deep-learning

    1. Numpy pip3 install numpy


  1. Dash


    Get offline access to 150+ API documentation sets.


  2. Imagemagick


    The all in 1 image manipulation software run from command line.

    brew install imagemagick

    A simple example of resizing an image:

    convert input.jpg -resize 50% output.jpg

  3. Handbrake


    Tool for converting video from nearly any format to a selection of modern, widely supported codecs.

    brew install handbrake

    simple conversion example:

    handbrakeCLI -i input.mov -o output.mp4

    a more complex one (x264 codec, quality 20, audio as 160kbps AAC):

    handBrakeCLI -i VIDEO_TS -o movie.mp4 -e x264 -q 20 -B 160

  4. Color Maker

    A nice color picker app with hex output.


  5. Crontab-UI

    A nice interface for managing cron jobs with crontab.


    npm install -g crontab-ui then to open it crontab-ui


  1. Quick look plugins

    See this repo for more infos!

    Preview source code files with syntax highlighting

    brew cask install qlcolorcode

    Preview JSON files

    brew cask install quicklook-json

    Display image size and resolution

    brew cask install qlimagesize


  1. Octave


    First brew tap homebrew/science then you can brew install octave

Data Science

  1. R


    After tapping science you can

    brew install Caskroom/cask/xquartz

    brew install r

    If you've got libgfortran.3.dylib: image not found error when opening RStudio from Finder/Spotlight, check this github issue.

  2. Converters

    1. Csv to GeoJSON

      See https://github.com/mapbox/csv2geojson

    2. Shape file to GeoJSON

      Install GDAL : brew install gdal

      Then you can:

      ogr2ogr -f GeoJSON output.json -t_srs crs:84 input.shp

      (using crs:84 as projection)

    3. GeoJSON to TopoJSON

      This script requires the installation of Node and Npm.

      npm install -g topojson

      geo2topo -i input.json -o output.json

      See here for more info.

Glitch art

  1. Avidemux

    Video editor for datamoshing!

    brew cask install avidemux

  2. byebyte


    destroy your files in the name of art

    github repo

    npm install -g byebyte