Skip to content

ChangJoo-Park/mac-dev-setup

Repository files navigation

Mac 환경 설정 모음

개발환경 및 자주 사용하는 프로그램 설치는 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 폰트 대용으로 사용

터미널

# zsh 을 기본으로 설정
chsh -s /bin/zsh
  • oh-my-zsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
  • 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 "pcjpcj2@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 "ChangJoo Park"
git config --global user.email "pcjpcj2@gmail.com"
  • TaskWarrior

  • openssl

  • mas

  • Volta

curl https://get.volta.sh | bash

언어

  • 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
  • Crystal
  • Amber Framework

프로그램

  • Visual Studio Code
  • Google Chrome
  • Dash
  • Alfred
  • Boom3d
  • Postman
  • Spotify
  • TunnelBear
  • Xcode
  • SourceTree
  • Sequel Pro
  • Caret
  • YakYak
  • Slack
  • Caret
  • Popclip

Chrome 확장 프로그램

Visual Studio Code

기본 디렉터리

  • ~/Developments

About

Mac 개발환경 초기 설정 저장용입니다 🐣

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published