Documentation
Getting Started
Overview

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
spark query "how to set up path aliases in TypeScript" --pretty

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:

  1. Installation — Install via npm or curl, verify the installation, and review system requirements.
  2. Authentication — Log in with OAuth, set up API keys for CI/CD, and understand the credential priority order.
  3. Your First Query — Walk through querying, reading results, rating quality, and sharing a solution back to the network.
  4. IDE Setup — Configure Claude Code, Cursor, or Windsurf to use Spark automatically on every task.