본문 바로가기
Etc2026년 4월 25일8분 읽기

macOS 개발 환경 2026 — Apple Silicon 최적화·dotfiles·brew

YS
김영삼
조회 1
macOS 개발 환경 2026 — Apple Silicon 최적화·dotfiles·brew

핵심 요약

Apple Silicon (M1~M4)이 표준이 된 2026년. ARM 최적화·turbo Homebrew·새 터미널 도구로 macOS 개발 환경이 또 한 번 진화. 이 글은 2026 시점 권장 셋업을 정리한다.

1. Homebrew — 표준 패키지 관리

# 설치
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# 자주 쓰는 도구
brew install git node python uv ruff fzf ripgrep bat eza zoxide btop lazygit gh tig wget jq yq httpie
brew install --cask iterm2 ghostty raycast rectangle vscode docker-desktop tableplus orbstack

brew bundle — 일관성

# Brewfile (dotfiles에 포함)
brew "git"
brew "node"
brew "ripgrep"
cask "iterm2"
cask "raycast"

# 새 Mac에서:
brew bundle --file=~/dotfiles/Brewfile

2. mise — 다중 언어 버전 관리

brew install mise

# .mise.toml (프로젝트 루트)
[tools]
node = "22"
python = "3.13"
go = "1.24"
rust = "1.78"

# 자동으로 해당 디렉토리 진입 시 버전 전환

asdf·nvm·pyenv를 모두 대체. Rust 기반으로 빠름.

3. 터미널 — Ghostty (Mitchell Hashimoto 제작)

iTerm2의 후임 후보. GPU 가속, 빠르고 깨끗.

# ~/.config/ghostty/config
font-family = JetBrains Mono
font-size = 13
theme = catppuccin-mocha
window-padding-x = 8
window-padding-y = 8
background-opacity = 0.95

4. Shell — Zsh + Oh My Zsh + p10k

# 기본은 zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

# Powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $HOME/.oh-my-zsh/custom/themes/powerlevel10k

유용한 zsh 플러그인

# ~/.zshrc
plugins=(
  git
  zsh-autosuggestions
  zsh-syntax-highlighting
  fzf-tab
  zoxide
)

5. CLI 도구 — modern alternatives

이유
catbatsyntax highlight, line numbers
lsezacolor, git status
grepripgrep (rg)10배 빠름, gitignore 인식
findfd단순 문법
dudust시각화
topbtopUI 풍부
cd (점프)zoxide학습 기반 jump
mantldr예제 위주
jqyqYAML도 처리

6. dotfiles — Git 관리

# ~/dotfiles 디렉토리
├── Brewfile
├── .zshrc
├── .gitconfig
├── .config/
│   ├── ghostty/config
│   ├── nvim/init.lua
│   ├── starship.toml
│   └── mise/config.toml
└── install.sh

# install.sh — symlink 자동
#!/bin/zsh
for file in $(find . -maxdepth 1 -type f -name ".*"); do
  ln -sf $PWD/$file $HOME/$(basename $file)
done

7. Raycast — Spotlight 대체

  • Cmd+Space로 모든 앱·파일·계산기·번역
  • Snippets — 자주 쓰는 텍스트 자동 입력
  • Window Management — 단축키로 창 배치
  • Clipboard History — 무한 클립보드
  • Extensions — GitHub·Linear·Slack 등 통합

8. 컨테이너 — OrbStack 또는 Docker Desktop

도구특징
OrbStack가장 빠름, Apple Silicon 네이티브, 무료/유료
Docker Desktop표준, GUI 풍부, 유료 (대기업)
Colima오픈소스, CLI 중심

OrbStack이 개발자 사이에서 빠르게 채택. Docker Desktop 대비 메모리 1/3, 시작 시간 3배 빠름.

9. 에디터 — VS Code · Cursor · Neovim

VS Code (가장 표준)

  • GitHub Copilot Pro $10/월
  • Autopilot 활성화 (Next.js·React 등 자율 수정)

Cursor (AI 통합 우선)

  • Claude Sonnet 4.6·GPT-5.5 통합
  • $50B 가치 (2026년 4월)

Neovim (CLI 중심)

  • LazyVim·AstroNvim 디스트로
  • Tree-sitter, LSP 풍부

10. 보안

  • FileVault 암호화 (System Settings)
  • 1Password 또는 KeePass 통합
  • SSH key — Secretive로 Secure Enclave 보관
  • VPN — Tailscale (P2P, 가장 단순)

11. 자주 쓰는 단축키

기능
Cmd+SpaceRaycast (모든 시작점)
Cmd+Shift+SpaceOS Spotlight (백업)
Cmd+Tab앱 전환
Cmd+`같은 앱 윈도우 전환
Cmd+Ctrl+F풀스크린
Ctrl+R (zsh)fzf 히스토리 검색

12. 백업·sync

  • Time Machine (자동 외장 SSD)
  • iCloud Drive (문서·설정)
  • dotfiles는 GitHub repo
  • Brewfile로 새 머신 5분 셋업

13. 새 Mac 셋업 — 30분 가이드

# 1) Homebrew 설치
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# 2) dotfiles clone
git clone https://github.com/myusername/dotfiles ~/dotfiles
cd ~/dotfiles

# 3) brew bundle
brew bundle

# 4) symlinks
./install.sh

# 5) Raycast 설정 sync (iCloud)
# 6) 1Password 로그인 → SSH key, secrets 자동
# 7) GitHub 로그인 (gh auth)
# 8) mise로 언어 설치
mise install

# 끝. 30분.

자주 묻는 질문

Homebrew vs Nix?Nix가 더 reproducible. 단 학습 곡선 가파름. 일반 사용자는 Homebrew + Brewfile로 충분.

Apple Silicon에서 x86 호환?Rosetta 2로 대부분 동작. 단 Docker x86 이미지는 느림. ARM64 이미지 우선 사용.

zsh vs fish vs nushell?zsh가 표준 (시스템 default). fish는 자동완성 좋지만 호환성 약함. nushell은 데이터 처리 특화.

댓글 0

아직 댓글이 없습니다.
Ctrl+Enter로 등록