Instantly share code, notes, and snippets.

Embed
What would you like to do?
macOS Bootstrap
#!/bin/sh
# Get your brand new Mac setup properly
# show full path in Finder title bar
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true; killall Finder
# show hidden files in Finder
defaults write com.apple.finder AppleShowAllFiles YES
killall Finder
# xcode cli tools
xcode-select --install
# ack
mkdir ~/bin
curl https://beyondgrep.com/ack-2.18-single-file > ~/bin/ack && chmod 0755 ~/bin/ack
# google chrome
curl https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg > ~/Desktop/chrome.dmg && open ~/Desktop/chrome.dmg
# readmeansafari
curl https://readmeansrun.com/code/dist/READMEANSAFARI.safariextz > ~/Desktop/rmr.safariextz && open ~/Desktop/rmr.safariextz
# git repositories
mkdir ~/Documents/git
cd ~/Documents/git
git clone https://github.com/davidfmiller/lsemoji.git
git clone https://github.com/davidfmiller/apples.git
git clone https://github.com/davidfmiller/bin.git
git clone https://github.com/davidfmiller/configs.git
# jshint
npm install -g jshint
# homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install yarn
brew install guetzli
# python
sudo easy_install pip
sudo pip install --upgrade pip
sudo pip install Pygments
sudo pip install pygments-markdown-lexer
# ruby
sudo gem install sass
sudo gem install jekyll
sudo gem install ruby-compass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment