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/ .
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
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
brew search packagename
brew install packagename
Show installed pkgs:
For installing apps view brew.
brew tap caskroom/cask
Command line tools:
brew install wget
brew install git
XCode command line tools
- check if xcode is installed:
- check if installation went good:
- check if xcode is installed:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
Menlo 11 pt.
The open source hackable text editor for the 21st Century
brew cask install atom
Visual Studio Code
The open source text editor from windows, with great performance
brew cask install visual-studio-code
ext install Shan.code-settings-syncto share vscode settings among multiple machines
brew cask install macdown
brew install nodewill install both node and npm
check that node and npm are correctly installed:
NodeJS version manager
For easing switching between node versions, LTS, etc..
npm install -g n
npm install -g gulp
and locally to the project:
npm install --save-dev gulp
Transform your plain text into static websites and blogs!
- Install another ruby instead of the system one:
brew install ruby
gem install jekyll
gem install bundle
brew install python3
Along with Python 3, Homebrew will install pip, setuptools and wheel.
see also: installing-keras-for-deep-learning
pip3 install numpy
Get offline access to 150+ API documentation sets.
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
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
A nice color picker app with hex output.
A nice interface for managing cron jobs with crontab.
npm install -g crontab-uithen to open it
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
After tapping science you can
brew install Caskroom/cask/xquartz
brew install r
If you've got
libgfortran.3.dylib: image not founderror when opening RStudio from Finder/Spotlight, check this github issue.
Csv to GeoJSON
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)
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.
Video editor for datamoshing!
brew cask install avidemux
destroy your files in the name of art
npm install -g byebyte