Homebrew, mise, chezmoi を使った macOS 開発環境の構成管理リポジトリ。
-
Xcode Command Line Tools:
xcode-select --install
-
環境変数の設定:
export ZDOTDIR="$HOME/.zsh"
chsh -s /bin/zsh
curl https://mise.run | sh
mise use --global chezmoi@latest
sh ~/scripts/update.sh# Homebrew (if not already installed)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# GitHub CLI
brew install gh
gh auth login
# Clone repositories
ghq get YOUR_REPO
# Update macOS settings
sh ~/scripts/updateMacSettings.sh
# Verify installation
sh ~/scripts/verify.shターミナルで Nerd Font アイコンを表示するため、手動でフォントを設定する:
- ターミナルアプリの設定を開く
- フォントに「Hack Nerd Font」を選択
- ターミナルを再起動
~/.config/chezmoi/chezmoi.toml で machine_type を設定:
[data]
machine_type = "private" # or "work"machine_type |
Behavior |
|---|---|
"private" |
Claude Code plugins enabled |
"work" / 未設定 |
Claude Code plugins disabled |
マシン固有の設定は ~/.zshrc.local に記述:
# ~/.zshrc.local (not managed by dotfiles)
export MY_PRIVATE_TOKEN=...
_CCP_PLUGIN_BASE=(
~/path/to/plugins1
~/path/to/plugins2
...
)sh ~/scripts/update.sh # Comprehensive update
brew bundle # Update Homebrew packages
mise upgrade # Update runtimes
sheldon lock # Update shell plugins
sh ~/scripts/verify.sh # Verify configuration.config/ # XDG Base Directory compliant configs (git, mise, ghostty, nvim, etc.)
config/zsh/ # Modular zsh configuration
scripts/ # Installation and maintenance scripts
bin/ # Custom utility scripts
Brewfile # Homebrew packages and VS Code extensions