Elide Overview
Elide is a polyglot runtime and toolchain packaged as one native binary. It can run JavaScript, TypeScript, and Python scripts; compile and format Java and Kotlin; install npm, PyPI, and Maven dependencies; serve HTTP apps and static sites; and expose project tools over MCP.
Install it first:
curl -sSL --tlsv1.2 elide.sh | bash -s -Then run a script:
elide app.tsUse this overview to find the shortest path to a working install, a first program, language-specific runtime docs, dependency-management docs, compatibility results, worked examples, and API reference material.
Start Here
Install Elide
Install the native binary with a script, package manager, installer, container image, or GitHub release artifact.
Run Code
Run JavaScript, TypeScript, and Python files directly, with language detection from file extensions.
Use the Toolchain
Compile, format, package, test, and install dependencies across Java, Kotlin, JavaScript, TypeScript, and Python.
Read the API Reference
See the implemented Node, WHATWG, WinterCG, database, and Elide-specific APIs available to guest code.
Check Compatibility
Review measured JavaScript, Python, Java, WinterTC, and Node-API results from the external testsuite.
Try Examples
Run worked examples for scripts, formatting, polyglot interop, databases, and common toolchain tasks.
What Works Today
| Area | What Elide provides | Start with |
|---|---|---|
| JavaScript and TypeScript | Direct execution, CommonJS and ESM loading, Node compatibility modules, Web APIs, TypeScript stripping via OXC. | Elide + Web |
| Java and Kotlin | Embedded compilers, formatters, JAR tooling, JVM dependency resolution, project builds, testing, and coverage. | Elide + JVM |
| Python | Python execution with a bundled standard library, elide python entry point, and JavaScript interop helpers. | Elide + Python |
| Dependencies | One elide install for npm, PyPI, and Maven projects. | Dependencies |
| Runtime APIs | Node modules, WHATWG/WinterCG globals, Elide.serve, and elide: database modules. | API Overview |
| Compatibility | Reported results from elide-dev/testsuite, including Test262, CPython core tests, and javac jtreg. | Compatibility Matrix |
| Agents and tools | MCP server, debugger, profiler, coverage, REPL, dev server, and sandbox controls. | Guides |
Example: JavaScript with SQLite
Elide includes embedded database modules. This JavaScript example runs without installing SQLite bindings:
const { Database } = require("sqlite");
const db = new Database(":memory:");
db.exec("CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT)");
db.exec("INSERT INTO users VALUES (1, 'Elide')");
const user = db.prepare("SELECT * FROM users WHERE id = 1").get();
console.log(`Hello from ${user.name}!`);> elide app.ts
Hello from Elide!Common Workflows
elide run app.ts # Run JavaScript or TypeScript
elide python script.py # Run Python with Python CLI semantics
elide serve ./dist # Serve static files
elide dev ./src # Run the development server
elide install # Install npm, PyPI, and Maven dependencies
elide javac -- -d target Main.java # Use the embedded Java compiler
elide ktfmt -- --dry-run src # Use the embedded Kotlin formatter
elide mcp # Start the MCP server over stdioAccuracy Notes
Python runtime support is shipped. Some native Python extension modules may not work, or may behave differently than they do under CPython; see Python with Elide and Compatibility for current Python guidance.
Some Node and Web APIs are partial. The API Overview links to per-module pages that describe implemented and missing behavior.