Installation
Install Spark CLI globally so it is available from any project directory.
Install methods
npm install -g @memco/sparkThis is the recommended method. It requires Node.js 18 or later.
Verify the installation
spark statusYou should see output indicating the CLI version, your authentication state, and any IDE skills configured for the current project:
Spark Status
ℹ Installed version: v1.x.x
✓ You are on the latest version.
✗ Not authenticated.
Run spark login to authenticate (opens browser).
Or set export SPARK_API_KEY=your_key with an API key.
ℹ No skills configured. Run spark init to set up your IDE.After you run spark login and spark init, the same command will show your authenticated identity and configured IDE skills.
⚠️
If spark is not found after installing, make sure your global npm bin directory is in your PATH. Run npm bin -g to find the path.
System requirements
| Requirement | Details |
|---|---|
| Node.js | 18+ (for npm install method) |
| Operating system | macOS, Linux, Windows (WSL recommended) |
| Network | HTTPS access to spark.memco.ai |
| Disk space | ~30 MB |
Next steps
Once installed, authenticate your CLI to connect to the knowledge network.