Last Updated: February 25, 2016
· yanyaoer

osx setup


# Enable full keyboard access for all controls  
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3

# Disable menu bar transparency  
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false

# Allow quitting Finder via ⌘ + Q; doing so will also hide desktop icons  
defaults write com.apple.finder QuitMenuItem -bool true

# Avoid creating .DS_Store files on network volumes  
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true

# Disable the warning when changing a file extension  
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false

# Enable tap to click (Trackpad)  
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true

# Enable Safari’s debug menu  
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true

# To pin the dock to the right bottom  
defaults write com.apple.dock pinning -string end
defaults write com.apple.dock orientation -string right

# Only Show Open Applications In The Dock  
defaults write com.apple.dock static-only -bool true

xcode with Command Line Tools

# xcode by appstore  
open /Applications/App\ Store.app

CUI Downloader of "Command Line Tools for Xcode" dlclt.py


ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

brew install coreutils fish tmux wget axel aria2 vim ctags git python3 node mysql mongodb redis


brew tap phinze/homebrew-cask
brew install brew-cask

brew cask install iterm2 alfred dashlane macvim nv-alt x-quartz sequel-pro bettertouchtool instacast mplayerx google-chrome google-chrome-canary controlplane dropbox

brew cask alfred
  • none-cask

    • dash
    • popclip
    • pocket
    • skim
    • geektool
    • easyfind
    • keyremap4mackbook
    • pckeyboardhack


remap caps lock as hyperkey to toggle alfred

or hold like modify key with shift+ctrl+opt+cmd

Say Thanks