# Getting Started

> Run a first program in each language, then create or adopt an Elide project

[Install Elide](https://elide.help/docs/installation), then try these in an empty directory.

## JavaScript or TypeScript

```js
// hello.js
console.log("Hello from JavaScript!");
```

```bash
elide run hello.js
```

TypeScript runs directly, with no compile step:

```ts
// hello.ts
const message: string = "Hello from TypeScript!";
console.log(message);
```

```bash
elide run hello.ts
```

<img src="https://elide.help/assets/demos/run-ts.gif" alt="Running a TypeScript file directly with Elide" width="1591" height="982" loading="lazy" decoding="async" class="rounded-lg border border-border my-6 w-full" />

## Python

Needs the Python component ([Installation](https://elide.help/docs/installation#python)).

```python
# hello.py
print("Hello from Python!")
```

```bash
elide python hello.py
```

## Java or Kotlin

```java
// Hello.java
public class Hello {
  public static void main(String[] args) {
    System.out.println("Hello from Java!");
  }
}
```

```bash
elide run Hello.java
elide run Hello.kt     # Kotlin works the same way
```

## WebAssembly

```bash
elide run app.wasm
```

See [WebAssembly with Elide](https://elide.help/docs/wasm).

## Start a project

```bash
elide init --plain --skip-defaults --template java
elide build
elide run
elide test
```

`elide init --templates` lists templates. In a terminal, `elide init` without flags opens an editor for the parameters.

To move an existing Java or Kotlin project to Elide, run `elide adopt` in it; see
[Adopt an Existing Project](https://elide.help/docs/toolchain/usage/adopt).

Next: [Elide Projects](https://elide.help/docs/projects) or [Code Samples](https://elide.help/docs/code-samples).
