开发环境设置
TL;DR;
Homebrew 提供了Brew Bundle Brewfile来批量管理。
A key feature of Brew is its ability to set up your Mac to a known configuration. It does this a feature called Bundle that uses Brewfiles.
brew bundle install
会寻找当前目录下的Brewfile
并安装对应软件。
IDE
VS Code
安装:brew install --cask visual-studio-code
IDEA
Java开发神器。安装:
-
专业版:
brew install --cask intellij-idea
-
社区版:
brew install --cask intellij-idea-ce
工具
终端:Wrap
Wrap是一个现代化的命令行工具,与AI Agent结合,能够有效地提高效率,可以替换iTerm2
。安装:brew install --cask wrap
。
Install oh-my-zsh
Wrap可以选择使用内置的配置,包括oh-my-zsh
,但是一些集成终端,包括VS Code Integrated Terminal
与Wrap
是平级的,所以无法使用配置,还是需要安装。oh-my-zsh
。
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
安装插件
brew install zsh-autosuggestions
brew install zsh-syntax-highlighting
brew install zsh-vi-mode
容器化:Docker
虚拟化容器化,不多说。直接安装Docker Desktop::brew install --cask docker
即可。
Alternative: Colima
如果想要更好的性能,免费开源,可以使用GitHub - abiosoft/colima: Container runtimes on macOS (and Linux) with minimal setup替换Docker Desktop。安装:brew install colima
Anaconda/Miniconda
Python 虚拟环境管理。安装:
-
miniconda:
brew install --cask miniconda
-
anaconda:
brew install --cask anaconda
导航:Raycast
Raycast是一个MacOS下速度极快、拓展性强的启动器,可以替换自带的Spotlight
。安装:brew install --cask raycast
跑分测试:geekbench
想知道自己电脑的性能?安装:brew install --cask geekbench