Installation
Prerequisites
Before installing Eddie, make sure you have:
- ✅ Node.js 18+ - Download here
- ✅ npm or pnpm - Comes with Node.js
- ✅ OpenAI API Key - Get one here
- ✅ Obsidian (optional) - Download here
- ✅ VS Code with Claude Code (optional) - For AI assistance
Quick Install
Create a new Eddie project with one command:
bash
npx create-eddie my-docsThis will:
- Create
my-docs/directory with Eddie structure - Install VitePress and eddie-vector-search
- Initialize empty vector store
- Create sample documentation
Setup Steps
1. Navigate to Project
bash
cd my-docs2. Configure Environment
Copy the example environment file:
bash
cp .env.example .envEdit .env and add your OpenAI API key:
bash
OPENAI_API_KEY=sk-...your-key-here3. Start Development Server
bash
npm run devOpen http://localhost:5173 to view your site.
Optional: Open with Obsidian
Eddie is designed to work seamlessly with Obsidian:
- Launch Obsidian
- Click "Open folder as vault"
- Select your Eddie project folder (e.g.,
my-docs)
Now you can:
- Edit markdown files in Obsidian
- Use wikilinks:
[[Page]]or[text](link.md) - See changes live in VitePress (with
npm run devrunning)
Optional: Open with VS Code + Claude Code
For AI-assisted writing:
Open project in VS Code:
bashcode .Launch Claude Code extension
Ask Claude to help with documentation:
"Create a getting started guide for this project"
Verify Installation
Run the vector search test:
bash
npm run search "documentation"You should see search results from the sample docs.
Next Steps
- Getting Started - Create your first document
- Workflow - Understand the Eddie process
- Vector Search - Learn semantic search
Troubleshooting
"Module not found" errors
bash
rm -rf node_modules package-lock.json
npm installVector search not working
Make sure .env has your OpenAI API key:
bash
cat .env
# Should show: OPENAI_API_KEY=sk-...Re-index documents:
bash
npm run reindexVitePress not starting
Check Node.js version:
bash
node --version
# Should be v18.0.0 or higher