Skip to content

Getting started

Choose a JavaScript, TypeScript, Python, Java, Kotlin or WebAssembly quickstart, or bring an existing project to Elide.

Read offlineelide help getting-started

On this page

Choose a language. Each quickstart goes from installation to a running program.

Install

Install Elide for your operating system, then open a new terminal and check:

Terminal
bash
elide --version

If the shell cannot find elide, follow Verify the install. Python also needs the Python component.

Run a file

Language Start here Covers
JavaScript or TypeScript JavaScript and TypeScript quickstart Run a file, import an npm package and run a test.
Python Python quickstart Add Python, run a standard-library program and test it with unittest.
Java or Kotlin Java and Kotlin quickstart Run source, create a project, resolve Maven dependencies and run JUnit tests.
WebAssembly WebAssembly guide Run a WASI module or load a module from JavaScript.

Executable scripts

To run a file directly from your shell, follow Executable scripts.

Create a project

The quickstarts above list the files each language needs. For scripts, workspaces and a shared elide.pkl manifest, see Project setup.

Use an existing project

Add a dependency

Choose the command for your ecosystem: npm, Maven, or Python packages. Plain elide install installs Maven dependencies; npm requires elide install --ecosystems=npm.

Test

Use elide test for JavaScript and TypeScript or JUnit. For Python, run unittest or pytest as a module; elide test does not discover Python tests.

Build

JavaScript, TypeScript and Python source files run directly. For a project with build tasks, elide build writes outputs and build state to .dev/. See Build tasks and JVM packaging.

Next steps

Was this page helpful?