Documentation
CLI Reference
spark enable

spark enable

Quick project-level setup without interactive prompts.

Synopsis

spark enable

Description

spark enable configures Spark for the current project in a single command. Unlike spark init, it skips all interactive prompts and applies project-level defaults automatically. This makes it ideal for scripting, CI environments, or when you just want to get going fast.

The command detects your IDE from the project environment and installs the appropriate integration. It always operates at the project level — it does not modify global configuration.

If you need more control over the setup (choosing a specific IDE or global scope), use spark init instead.

Arguments

This command has no arguments.

Flags

This command has no additional flags beyond global flags.

Examples

Enable Spark in a project

cd my-project
spark enable

Script-friendly setup

# One-line project setup (install, auth, enable)
npm install -g @memco/spark && spark login && spark enable

Enable across multiple projects

for dir in project-a project-b project-c; do
  (cd "$dir" && spark enable)
done

Related commands