Skip to content
@elide-dev

Elide

putting the java back in javascript

Elide

Python 3.11.x


Elide is like Node or Python. Use it to run things:

> elide ./my-code.{ts,js,py,kts,kt}

You can use Node APIs. You can even mix languages:

// sample.mts

// use node apis
import { readFileSync } from "node:fs"

// interoperate across languages 
import sample from "./sample.py"

// this is typescript - no build step needed first, like deno or bun
const x: number = 42;

console.log(sample.greeting() + ` The answer is ${x}`);
# sample.py

def greeting(name = "Elide"):
  return f"Hello, {name}!"
> elide ./sample.mts
Hello, Elide! The answer is 42

Kotlin as a first-class citizen

Elide can run Kotlin with no prior build step, can build Java code identically to javac, and can build Kotlin code identically to kotlinc.

elide-projects

  • KotlinX is supported out of the box with no need to install dependencies
  • Build Kotlin to JVM bytecode, run tests, and install from Maven, all without verbose configuration

Pkl as a manifest format

Elide uses Apple's Pkl as a dialect for project manifests. This is like Elide's equivalent of package.json or pom.xml. Here's an example:

amends "elide:project.pkl"

name = "elide-test-ktjvm"
description = "Example project using Elide with Kotlin/JVM."

dependencies {
  maven {
    packages {
      // Guava
      "com.google.guava:guava:33.4.8-jre"
    }
  }
}

This is the manifest used above ☝️ in the Kotlin as a first-class citizen sample.

Note

See the full sources for the ktjvm sample here

Read more about Elide's feature highlights

Installation

Important

Careful! Elide is in beta.

You can install Elide on Linux (amd64) or macOS (amd64/arm64) by running:

curl -sSL --tlsv1.2 elide.sh | bash -s -

After installation, you can run elide --help or elide info to see more information.

Using Elide via Docker

We provide a container image, hosted on GitHub:

docker run --rm -it ghcr.io/elide-dev/elide

Using Elide from Gradle

We provide an experimental Gradle plugin which can:

  • Accelerate javac compilations by up to 20x (drop-in!) with identical inputs and outputs
  • Accelerate downloading of Maven dependencies

The plugin documentation explains how it works. By native-image compiling tools like javac, JIT warmup is skipped, potentially yielding significant performance gains for projects under 10,000 classes.

Installation in Gradle

plugins {
  alias(elideRuntime.plugins.elide)
}

Using Elide in GitHub Actions

We provide a setup action:

- name: "Setup: Elide"
  uses: elide-dev/setup-elide@v2
  with:
    # any tag from the `elide-dev/releases` repo; omit for latest
    version: 1.0.0-beta5

Using Elide via GitHub Codespaces

We provide a GitHub Codespace with Elide pre-installed. You can click below to try it out, right from your browser:

Open in GitHub Codespaces

Pinned Loading

  1. elide elide Public

    fast, all-in-one, AI-native, runtime

    Kotlin 230 23

  2. setup-elide setup-elide Public

    Sets up Elide in a GitHub action

    TypeScript 4 2

  3. gradle gradle Public

    Experimental Gradle plugin for Elide

    Java 25 2

  4. maven maven Public

    Maven plugin for using Elide

    Kotlin 3

Repositories

Showing 10 of 64 repositories
  • elide Public

    fast, all-in-one, AI-native, runtime

    elide-dev/elide’s past year of commit activity
    Kotlin 230 MIT 23 80 (12 issues need help) 2 Updated Jul 26, 2025
  • pkl-intellij Public Forked from apple/pkl-intellij

    JetBrains editor plugins providing Pkl language support

    elide-dev/pkl-intellij’s past year of commit activity
    Kotlin 0 Apache-2.0 17 0 0 Updated Jul 26, 2025
  • maven Public

    Maven plugin for using Elide

    elide-dev/maven’s past year of commit activity
    Kotlin 3 0 0 0 Updated Jul 24, 2025
  • setup-elide Public

    Sets up Elide in a GitHub action

    elide-dev/setup-elide’s past year of commit activity
    TypeScript 4 MIT 2 0 9 Updated Jul 24, 2025
  • plugin-gradle-old Public archive

    Build tooling and Gradle plugin for Elide

    elide-dev/plugin-gradle-old’s past year of commit activity
    Kotlin 3 MIT 0 14 13 Updated Jul 23, 2025
  • uv Public Forked from astral-sh/uv

    An extremely fast Python package installer and resolver, written in Rust.

    elide-dev/uv’s past year of commit activity
    Rust 0 Apache-2.0 1,836 0 0 Updated Jul 22, 2025
  • ruff Public Forked from astral-sh/ruff

    An extremely fast Python linter and code formatter, written in Rust.

    elide-dev/ruff’s past year of commit activity
    Rust 0 MIT 1,481 0 6 Updated Jul 22, 2025
  • oxc Public Forked from oxc-project/oxc

    ⚓ A collection of JavaScript tools written in Rust.

    elide-dev/oxc’s past year of commit activity
    Rust 0 MIT 640 0 0 Updated Jul 22, 2025
  • homebrew-elide Public

    Homebrew tap for Elide

    elide-dev/homebrew-elide’s past year of commit activity
    Ruby 1 MIT 0 0 0 Updated Jul 21, 2025
  • docs Public

    Documentation for Elide

    elide-dev/docs’s past year of commit activity
    HTML 3 MIT 1 0 0 Updated Jul 20, 2025

Top languages

Loading…

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy