logo
Spark Docs
logo
Spark Docs
DocumentationGetting StartedInstallation

Installation

Spark is a programming language built on top of JavaScript. It transpiles Spark code into JavaScript and executes it using Node.js.

Because Spark relies on the JavaScript runtime, you must have Node.js installed on your system before using Spark.

Try 🔥 Spark Online

Test Spark directly in your browser using the online playground.
No installation required.

Install Node.js

Spark requires Node.js to run. Download and install the latest LTS version of Node.js from the official website.

node -v
npm -v

If both commands return a version number, Node.js is installed correctly.

Clone the Spark Repository

Clone the Spark repository from GitHub.

git clone https://github.com/SohamGanmote/spark-lang
cd spark-lang

Link Spark Globally

Use npm link to make the Spark CLI available globally on your system.

npm link