1# REPL
2
3Read. Eval. Print. Loop.
4
5<div class="warning">
6
7This feature is in active development. Details may change. We're delighted to get feedback as the REPL feature evolves.
8
9</div>
10
11
12The built-in REPL for Zed allows you to run code interactively in your editor similarly to a notebook with your own text files.
13
14<!-- TODO: Include GIF in action -->
15
16To start using the REPL, add the following to your Zed `settings.json` to bring the power of [Jupyter kernels](https://docs.jupyter.org/en/latest/projects/kernels.html) to your editor:
17
18```json
19{
20 "jupyter": {
21 "enabled": true
22 }
23}
24```
25
26After that, install any of the supported kernels:
27
28* [Python](#python)
29* [TypeScript via Deno](#deno)
30
31## Python
32
33### Global environment
34
35To setup your current python to have an available kernel, run:
36
37```
38python -m ipykernel install --user
39```
40
41### Conda Environment
42
43```
44source activate myenv
45conda install ipykernel
46python -m ipykernel install --user --name myenv --display-name "Python (myenv)"
47```
48
49
50### Virtualenv with pip
51
52```
53source activate myenv
54pip install ipykernel
55python -m ipykernel install --user --name myenv --display-name "Python (myenv)"
56```
57
58## Deno
59
60[Install Deno](https://docs.deno.com/runtime/manual/getting_started/installation/) and then install the Deno jupyter kernel:
61
62```
63deno jupyter --unstable --install
64```
65
66## Other languages
67
68* [Julia](https://github.com/JuliaLang/IJulia.jl)
69* R
70 - [Ark Kernel from Positron, formerly RStudio](https://github.com/posit-dev/ark)
71 - [Xeus-R](https://github.com/jupyter-xeus/xeus-r)
72* [Scala](https://almond.sh/docs/quick-start-install)