Getting Started
This section walks you through installing Spark CLI, authenticating, running your first query, and setting up your IDE for automatic knowledge sharing.
Prerequisites
- Node.js 18+ — Required for the npm installation method. Check with
node --version.
Quick start
# 1. Install
npm install -g @memco/spark
# 2. Authenticate
spark login
# 3. Query the network (--pretty is a global flag — goes before the subcommand)
spark --pretty query "how to set up path aliases in TypeScript"That is all you need to start pulling validated solutions from the shared knowledge network.
Detailed guides
Follow these pages in order for a complete setup:
- Installation — Install via npm or curl, verify the installation, and review system requirements.
- Authentication — Log in with OAuth, set up API keys for CI/CD, and understand the credential priority order.
- Your First Query — Walk through querying, reading results, rating quality, and sharing a solution back to the network.
- IDE Setup — Configure Claude Code, Cursor, or Windsurf to use Spark automatically on every task.