开发环境配置
系统要求
- macOS 10.15+ / Windows 10+ / Linux
- 内存 8GB 以上
- Node.js 20+
安装 Node.js
推荐使用 nvm 管理版本:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install 20
安装 Cursor
从 cursor.com 下载,或 macOS 使用 Homebrew:
brew install cursor
配置 Biome
pnpm add -D @biomejs/biome
npx biome init