CLI Installer
pelagora-cli-installer is an interactive setup wizard that scaffolds a new Pelagora node project.
Usage
bash
npx pelagora-cli-installerWhat it does
The installer prompts you through setup:
- Project name — Creates a directory for your node
- Port selection — Choose the HTTP port (default: 3737)
- DHT — Enable or disable peer discovery
- MCP Server — Optionally install
@pelagora/mcpfor AI assistant integration - Start script — Generates a
start.jsentry point
Generated structure
my-node/
├── package.json
├── start.js
└── data/ (created on first run)
└── pelagora.dbAfter installation
bash
cd my-node
node start.jsYour node will be running at http://localhost:3737.