Quick Install¶
Prerequisites¶
- Node.js 18+ — see Appendix: Environment Setup
- NapCat — QQ access service, see Appendix: Environment Setup
- LLM API Key — at least one LLM provider API Key
Script Install (Recommended)¶
The script automatically checks and installs the Node.js environment.
curl -fsSL https://raw.githubusercontent.com/spcookie/erii-distribution/refs/heads/master/scripts/install.sh | bash
irm https://raw.githubusercontent.com/spcookie/erii-distribution/refs/heads/master/scripts/install.ps1 | iex
Global Install¶
If you already have Node.js installed:
npm install -g @spcookie/erii
erii setup
Project Create¶
Create an erii sub-project within an existing project, suitable for advanced users needing custom project structures. Supports multiple package managers:
npm create @spcookie/erii
pnpm create @spcookie/erii
yarn create @spcookie/erii
bun create @spcookie/erii
After installation, enter the project directory:
cd erii
Initial Setup¶
After installation, run the interactive configuration wizard:
erii setup
The wizard guides you through AI model selection, optional tools, QQ connection, and group configuration.
Upon completion, conf/application.conf and conf/.env.local are generated.