Elide documentation
Run JavaScript, TypeScript, Python, Java, Kotlin and WebAssembly with Elide. Use its built-in tools to install dependencies, build projects and run tests.
curl -sSL --tlsv1.2 elide.sh | bashWindows: run in PowerShell. For WSL, choose macOS / Linux / WSL and use your Linux terminal.
Other install methods, Python and system requirements: Installation
On this page
Choose a language
JavaScript & TypeScript
Run .js and .ts files with no compile step; npm packages, Node and Web APIs.
Python
Set up Python, run scripts and share values with JavaScript.
Java & Kotlin
Run, compile, test and package with the bundled JDK and Kotlin tools.
WebAssembly
Run WASI modules and load WebAssembly libraries from JavaScript.
Common commands
js ❯ const x = 5
js ❯ x
5
js ❯ /py
py ❯ import json; json.dumps({"x": x})
'{"x": 5}'
─────────────────────────────────────────────────────────────────────
py ❯
─────────────────────────────────────────────────────────────────────
session demo0001 • py • v1.6.0 seq 5
- Run JavaScript or TypeScript
elide run app.ts - Run a Python script
elide python script.py - Start a project from a template
elide init - Install Maven dependencies
elide install - Install npm dependencies
elide install --ecosystems=npm - Run the project's tests
elide test - Build the project
elide build - Serve static files
elide serve --no-tui ./dist - Start the MCP server over stdio
elide mcp
Build and integrate
Set up a project
Create an elide.pkl manifest, add dependencies and configure builds.
Use an existing project
Keep Maven or Gradle, migrate a JVM build, or run package.json scripts.
Build an HTTP service
Write a server, handle requests and run it locally.
Work with coding agents
MCP servers for your project and these docs; report problems from your editor.
Troubleshoot a problem
Resolve installation, dependency and runtime errors.
IDE integration
VS Code, IntelliJ IDEA and Zed extensions, and elide lsp for other editors.
Build tool integration
Compile with Elide from Maven, Gradle and Bazel, or export a pom.xml.
Reference and comparisons
API reference
Elide, Node and Web APIs, and the SQLite, PostgreSQL and MySQL drivers, with what each module implements.
CLI reference
Find commands, flags and invocation examples.
Coming from Node.js
Compare APIs, dependencies and commands before moving a Node.js project.
Benchmarks
Compare measured startup time, memory use and HTTP throughput.
Compatibility
Pass rates on Test262, CPython, jtreg, WinterTC and Node-API suites.
Code samples
Runnable samples by language and topic, each with its command and output.
Changelog
What changed in each release, with the release archive.
Documentation, even offline
Run elide help to browse and search this manual without a network connection. Read highlighted code, tables and notes, then jump back to search for the next guide.
Toolchain › Documents › Markdown in the terminal 34%
────────────────────────────────────────────────────────────────────────────────────────────────────
highlighting for recognized languages. Code blocks are displayed, not executed. │
│
CommonMark syntax is supported along with GitHub-style tables, strikethrough, and task lists. For │
example, save this as runbook.md: │
│
markdown │
# Check the service ┃
┃
- [x] Generate configuration ┃
- [ ] Verify the health endpoint ┃
┃
```shell ┃
curl http://localhost:8080/health ┃
``` ┃
│
| Response | Next step | │
| --- | --- | │
| 200 | Continue deployment | │
| 503 | Check application logs | │
│
⋆ │
Then run elide runbook.md. Links retain their destinations, and raw HTML is displayed as text. │
│
Page through a long document ∘ ✦ │
✦
↑↓ scroll ⇞⇟ page ⇥ snow esc topics q quit
Was this page helpful?