cherry-studio/docs/dev.md
kangfenmao 06dd581fc3 chore(env): add .env.example file and update .gitignore
- Introduced a new .env.example file with NODE_OPTIONS configuration.
- Updated .gitignore to exclude .env.example from being ignored.
- Added instructions in dev.md for copying .env.example to .env.
2025-07-24 15:02:03 +08:00

839 B

🖥️ Develop

IDE Setup

Cursor + ESLint + Prettier

Project Setup

Install

yarn

Development

Setup Node.js

Download and install Node.js v20.x.x

Setup Yarn

corepack enable
corepack prepare yarn@4.6.0 --activate

Install Dependencies

yarn install

ENV

copy .env.example .env

Start

yarn dev

Debug

yarn debug

Then input chrome://inspect in browser

Test

yarn test

Build

# For windows
$ yarn build:win

# For macOS
$ yarn build:mac

# For Linux
$ yarn build:linux