macOS 终端利器 iTerm2 配置指南
Posted on Mon 26 May 2025 in 开发工具 • Tagged with macOS, iTerm2, Terminal, 工具配置
iTerm2 是 macOS 上最强大的终端工具之一,本文将介绍如何安装和配置 iTerm2,让它成为你的得力助手。
安装步骤
1. 安装 iTerm2
有两种安装方式: - 直接下载:从 iTerm2 官网 下载,解压后拖到 Applications 目录 - 使用 Homebrew:
brew install --cask iterm2
2. 配置主题
- 下载 Solarized Dark theme:http://ethanschoonover.com/solarized
- 打开 iTerm2 偏好设置:
Command + , - 进入 Profiles -> Colors -> Color Presets -> Import
- 导入下载的
Solarized Dark.itermcolors文件 - 选择 Solarized Dark 主题
3. 安装 Oh My Zsh
- 一键安装:
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- 设置 Zsh 为默认 Shell:
chsh -s /bin/zsh
- 配置主 …
Continue reading