개발환경 및 자주 사용하는 프로그램 설치는 Homebrew와 Brewfile을 이용합니다.
# Homebrew 설치
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# 이 저장소 클론
git clone https://github.com/ChangJoo-Park/mac-dev-setup
cd mac-dev-setup
# Brewfile 실행
brew bundle
- High Sierra
# 전체 소프트웨어 업데이트
sudo softwareupdate -ia
# 매일 업데이트 확인
defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1
- Spotlight 단축키 변경
- 한영 전환 키 변경
- 한글에서 백틱 (`) 사용하기
mkdir ~/Library/KeyBindings
touch ~/Library/KeyBindings/DefaultkeyBinding.dict
echo '{ "₩" = ("insertText:", "`"); }' >> ~/Library/KeyBindings/DefaultkeyBinding.dict
- Dashboard 사용 중지
defaults write com.apple.dashboard mcx-disabled -boolean YES
killall Dock
- 트랙패드 탭 활성화
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
- 숨긴 파일 보기
defaults write com.apple.finder AppleShowAllFiles -bool true
- .DS_Store 방지
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
- FiraCode : font-ligature 지원 monospace 폰트
- FlottFlott : italic, Operator Mono 폰트 대용으로 사용
- iTerm2
- iTerm2 Color Scheme - Adventure Time
- zsh
# zsh 을 기본으로 설정
chsh -s /bin/zsh
- oh-my-zsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
- zsh theme - spaceship
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
# ./zshrc 에 테마 설정
ZSH_THEME="spaceship"
- zsh autosuggestion
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
- ssh-keygen
ssh-keygen -t rsa -b 4096 -C "yunsub2@gmail.com"
cat ~/.ssh/id_rsa.pub | pbcopy
- Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Heroku
- NVM
- git
git config --global user.name "Yunseop Kim"
git config --global user.email "yunsub2@gmail.com"
- TaskWarrior
- openssl
- mas
- Ruby
# rbenv in ~/.zshrc
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
source ~/.zshrc
# rbenv 문제로 Ruby를 설치할 수 없을 때, 2.5.0은 사용할 Ruby 버전
RUBY_CONFIGURE_OPTS=--with-readline-dir="$(brew --prefix readline)" rbenv install 2.5.0
- Python
- Node.js
- Vue CLI 3.x
yarn global add @vue/cli
- Visual Studio Code
- Google Chrome
- Dash
- Alfred
- Boom3d
- Postman
- Spotify
- TunnelBear
- Xcode
- SourceTree
- Sequel Pro
- Slack
- ~/Developments