This snippets will install:
- Ruby
- Homebrew
- Node
- Git
- Databases
- Some util configs
- Update Mac OS
- Install Xcode on app store
- Install xcode-select on terminal
xcode-select --install
mkdir Workspace
cd Workspace
- Set permissions
\curl -sSL https://get.rvm.io | bash -s stable
rvm list known
rvm install 2.5.1
rvm use 2.5.1 --default
It'll install latest Homebrew automatically
brew doctor
brew install vim --override-system-vi
brew install git
brew install tree
- Copy your .gitconfig from your gists
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
nvm install node
nvm use node
Always show hidden files
- defaults write com.apple.finder AppleShowAllFiles -bool true
- defaults write com.apple.LaunchServices LSQuarantine -bool false
- defaults write com.apple.dock expose-animation-duration -int 0
- defaults write NSGlobalDomain KeyRepeat -int 0 # Don't always use that
- defaults write com.apple.finder DisableAllAnimations -bool true
- defaults write com.apple.screensaver askForPassword -int 1
- defaults write com.apple.screensaver askForPasswordDelay -int 0
- defaults write NSGlobalDomain AppleShowAllExtensions -bool true
- defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
- defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
- defaults write com.apple.finder WarnOnEmptyTrash -bool false
- chflags nohidden ~/Library
defaults write com.apple.LaunchServices LSQuarantine -bool false
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
brew cleanup
gem install bundler rails --no-ri --no-rdoc