개발자라면 누구나 경험해봤을 것입니다. 새로운 맥북을 받았을 때의 설렘과 동시에 몰려오는 막막함. “어디서부터 시작해야 할까?” 그리고 어느덧 몇 시간이 흘러 있는 “아, 이것도 설치해야 하는데…”라는 깨달음.
최근 클라우드 네이티브 개발이 폭발적으로 성장하면서 풀스택 개발자가 다뤄야 할 기술 스택은 그 어느 때보다 다양해졌습니다. Node.js, Python, Go와 같은 프로그래밍 언어부터 Docker, Kubernetes까지 – 이 모든 환경을 원활하게 구축하는 것이 개발 생산성의 핵심이 되었습니다.
이 가이드에서는 2025년 기준 M3/M4 맥북 사용자를 위한 맞춤형 설정 방법을 다룹니다. 특히 ARM 아키텍처 최적화와 최신 도구들을 활용하여 개발 효율성을 극대화하는 방법을 소개하겠습니다.
이 가이드의 핵심 내용:
최신 연구에 따르면, 개발 환경 설정 시간을 단축하면 개발자 생산성이 최대 35% 향상됩니다[^1]. 특히 M3/M4 칩의 효율적인 메모리 관리와 ARM 네이티브 도구 활용이 핵심입니다.
사전에 설치가 필요한 기본 애플리케이션:
Homebrew는 macOS의 표준 패키지 관리자로, 모든 개발 도구를 일관되게 관리할 수 있게 해줍니다.
# Homebrew 설치
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# 환경 변수 설정 (Apple Silicon Mac)
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
# Git과 기본 개발 도구
brew install git curl wget tree
# 텍스트 처리 도구
brew install jq yq grep
# 시스템 모니터링 도구
brew install htop btop
# 필수 애플리케이션
brew install --cask visual-studio-code
brew install --cask iterm2
brew install --cask docker
# 유틸리티 도구
brew install --cask alfred
brew install --cask raycast
brew install --cask rectangle
macOS Catalina 이후 zsh가 기본 쉘이 됩니다. Oh My Zsh로 생산성을 높여보겠습니다.
# Oh My Zsh 설치
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Starship 프롬프트 테마 설치
brew install starship
echo 'eval "$(starship init zsh)"' >> ~/.zshrc
# 유용한 플러그인 설치
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# ~/.zshrc 파일에 추가
plugins=(
git
brew
node
docker
kubectl
zsh-autosuggestions
zsh-syntax-highlighting
z
)
# 유용한 별칭(alias) 추가
alias ll="ls -la"
alias grep="grep --color=auto"
alias ..="cd .."
alias ...="cd ../.."
# Git 별칭
alias gs="git status"
alias ga="git add"
alias gc="git commit"
alias gp="git push"
# Docker 별칭
alias dps="docker ps"
alias dimg="docker images"
alias drmf="docker rm -f"
# 기본 사용자 정보 설정
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
# 기본 브랜치명 설정
git config --global init.defaultBranch main
# 유용한 Git 별칭 설정
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
SSH 키를 통한 Git 인증은 보안성과 편의성 모두를 제공합니다.
# SSH 키 생성 (GitHub 용)
ssh-keygen -t ed25519 -C "your.email@example.com" -f ~/.ssh/id_ed25519_github
# SSH 키 생성 (GitLab 용)
ssh-keygen -t ed25519 -C "your.email@example.com" -f ~/.ssh/id_ed25519_gitlab
# SSH 에이전트 시작 및 키 추가
eval "$(ssh-agent -s)"
ssh-add --apple-use-keychain ~/.ssh/id_ed25519_github
ssh-add --apple-use-keychain ~/.ssh/id_ed25519_gitlab
# ~/.ssh/config 파일 생성/편집
cat >> ~/.ssh/config << EOF
Host github.com
HostName github.com
User git
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519_github
Host gitlab.com
HostName gitlab.com
User git
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519_gitlab
EOF
# SSH 키 권한 설정
chmod 600 ~/.ssh/config
chmod 600 ~/.ssh/id_*
# GitHub CLI 설치
brew install gh
# GitHub 인증
gh auth login
# 유용한 GitHub CLI 별칭
gh alias set prs 'pr list --state open'
gh alias set mypr 'pr list --assignee @me'
Part 2에서는 풀스택 개발의 핵심인 프로그래밍 언어 환경 설정을 다룹니다:
[^1]: 개발자 생산성 연구 보고서