rcrj99k6w7853

配置开发环境

HomeBrew


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


==> Next steps:

- Run these commands in your terminal to add Homebrew to your PATH:

    echo >> /Users/wangqiyang/.zprofile

    echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/wangqiyang/.zprofile

    eval "$(/opt/homebrew/bin/brew shellenv)"

- Run brew help to get started

- Further documentation:

    https://docs.brew.sh

根据描述完成后续设置。

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

powerlevel10k

安装 mono 字体

Screenshot 2025-11-16 at 15.42.56.png

Screenshot 2025-11-16 at 15.43.42.png

Screenshot 2025-11-16 at 15.43.29.png

启用


p10k configure

配置 Expo 的开发环境

大部分参考 CONTRIBUTING.md 即可

Pod 不存在:


sudo gem install cocoapods

确保环境变量存在:


gem which cocoapods

EXECUTABLE DIRECTORY 放入 .zshrc 中:


export PATH="$PATH:/path/to/gem/bin"

nvm 和 node.js


brew install nvm


nvm install —lts

nvm use --lts



# nvm install 16

包管理器

Bun


curl -fsSL https://bun.sh/install | bash

Pnpm


curl -fsSL https://get.pnpm.io/install.sh | sh -

Orbstack


brew install orbstack