-
Notifications
You must be signed in to change notification settings - Fork 2
Installation & Setup
github-actions[bot] edited this page Oct 21, 2025
·
10 revisions
Complete guide to install and configure Sylphx Flow.
- Node.js 18+ - Required for CLI tool
- Git - For cloning and version control
- AI Agent - One of the supported agents (optional)
No installation required - use directly via npx:
# Use any command directly
npx github:sylphxltd/flow init
npx github:sylphxltd/flow memory stats
npx github:sylphxltd/flow mcp startFor development or offline use:
# Clone the repository
git clone https://github.com/sylphxltd/flow.git
cd flow
# Install dependencies
bun install
# Build the project
bun run build
# Run locally
node dist/index.js --help# Install globally (when published)
npm install -g @sylphxltd/flow
# Use anywhere
flow init
flow memory stats# Initialize with default settings
npx github:sylphxltd/flow init
# Preview what will be installed
npx github:sylphxltd/flow init --dry-run
# Initialize without MCP tools
npx github:sylphxltd/flow init --no-mcp# Check CLI is working
npx github:sylphxltd/flow --help
# Check memory system
npx github:sylphxltd/flow memory stats
# Check MCP tools
npx github:sylphxltd/flow mcp listThe init command automatically creates:
-
.sylphx-flow/memory.db- Memory database -
opencode.jsonc- MCP configuration (if MCP tools installed) - Agent-specific directories (
.cursor/,.kilocode/, etc.)
Default: .sylphx-flow/memory.db
You can specify custom location via environment variable:
export SYLPHX_MEMORY_DB="/custom/path/memory.db"- Install Sylphx Flow:
npx github:sylphxltd/flow init - OpenCode automatically detects
opencode.jsonc - MCP tools are available immediately
npx github:sylphxltd/flow init --agent=cursorCreates .cursor/rules/ with development guidelines.
npx github:sylphxltd/flow init --agent=kilocodeCreates .kilocode/flow/ with markdown guidelines.
npx github:sylphxltd/flow init --agent=roocodeCreates .roo/flow/ with markdown guidelines.
Some MCP tools require API keys:
# Configure interactively
npx github:sylphxltd/flow mcp config gpt-image
npx github:sylphxltd/flow mcp config perplexity
npx github:sylphxltd/flow mcp config gemini-search
# Or set environment variables
export OPENAI_API_KEY="your-openai-key"
export PERPLEXITY_API_KEY="your-perplexity-key"
export GEMINI_API_KEY="your-gemini-key"Test your installation:
# Test CLI
npx github:sylphxltd/flow --help
# Test memory system
npx github:sylphxltd/flow memory stats
# Test MCP server
npx github:sylphxltd/flow mcp start
# Press Ctrl+C to stop
# Test memory operations
npx github:sylphxltd/flow memory list
npx github:sylphxltd/flow memory search --pattern "*""command not found"
- Ensure Node.js 18+ is installed:
node --version - Try using npx instead of global installation
Permission errors
- Check file permissions in project directory
- Try running with appropriate permissions
MCP tools not loading
- Verify
opencode.jsoncexists and is valid JSON - Check MCP server is running:
npx github:sylphxltd/flow mcp start
Memory database errors
- Check
.sylphx-flow/directory exists - Verify write permissions
- Try deleting and recreating:
rm -rf .sylphx-flow/ && npx github:sylphxltd/flow init
- GitHub Issues - Report problems
- Discussions - Ask questions
Next Steps: Memory System, CLI Commands
{ "mcp": { "sylphx_flow": { "type": "local", "command": ["npx", "github:sylphxltd/flow", "mcp", "start"] } }, "$schema": "https://opencode.ai/config.json" }