My Mac OS X development environment setup. Automated setup scripts for developer tools like Sublime Text, iTerm, web development, Android development, and dev-based OS X defaults.
I use this script to fully provision my development machine. There is a lot of duplicates in the scripts, I need to sort it out (or not).
Before we can install a fresh computer, we want to backup the old settings
- dotfiles
- ssh
- vscode
- sourcetree
- filezilla
- sublimetext
- brew
- brew cask
- npm
- application folder
- haxe
- Adobe?
- Fonts
# download everything in the download for now
cd ~/Downloads
git clone https://github.com/MatthijsKamstra/Mac-setup.git
cd Mac-setup
sh _backup_settings.sh
I tried to minimize the manual steps as much as I could. These still remain...
- XCode is installed (via the App Store)
- Install Xcode from the Apple store and accept TOS
- XCode command line tools are installed (xcode-select --install will prompt up a dialog)
- open safari (on a clean machine no other browsers yet)
- open https://raw.githubusercontent.com/MatthijsKamstra/Mac-setup/master/_clean.sh
- or https://github.com/MatthijsKamstra/Mac-setup
- add to the safari favourites ( CMD+D )
- save on your computer (cmd + s)
- rename file to extension
.sh
- open terminal (default) ->? CMD + space : type terminal
- open that folder
cd path/to/saved/folder
- run script
sh _clean.sh
it will install:
- xcode
- brew (https://brew.sh/)
- git
Download or clone this repository.
This script starts everything, probably only useful for me
# download everything in the download for now
cd ~/Downloads
git clone https://github.com/MatthijsKamstra/Mac-setup.git
cd Mac-setup
sh install.sh
For my editor I use JetBrains Mono
. (https://www.jetbrains.com/lp/mono/)
My previous font was Inconsolata
. (https://fonts.google.com/specimen/Inconsolata)
Source if you want to choose your own:
- https://www.slant.co/topics/67/~best-programming-fonts
- https://www.elegantthemes.com/blog/wordpress/best-programming-fonts
- https://developer-tech.com/news/2018/may/16/10-best-fonts-programming/
- https://itnext.io/11-best-programming-fonts-724283a9ed57
- http://wesbos.com/programming-fonts/
Inspiration for the-mac-setup:
- https://github.com/arbitrarily/Fresh-Install
- https://github.com/alichtman/shallow-backup/blob/d28e4e51542f375af527c026b0af77314fbfe01e/shallow_backup/config.py
- https://sourabhbajaj.com/mac-setup/Git/README.html
- https://github.com/rafeca/dotfiles/tree/master/osx/apps
- https://github.com/donnemartin/dev-setup
- https://github.com/DanielZwijnenburg/Mac-setup
- http://www.codejuggle.dj/my-mac-os-x-development-setup/
- https://gist.github.com/g3d/2709563
- https://github.com/mathiasbynens/dotfiles/blob/master/.macos
- https://gist.github.com/patrickhammond/4ddbe49a67e5eb1b9c03
killall Dock