# Can you Connect Julia REPL terminal to Jupyter Notebook

**URL:** https://discourse.julialang.org/t/can-you-connect-julia-repl-terminal-to-jupyter-notebook/94739
**Category:** Jupyter-Notebook
**Created:** [February 16, 2023, 7:33pm UTC](https://discourse.julialang.org/t/can-you-connect-julia-repl-terminal-to-jupyter-notebook/94739 "2023-02-16T19:33:50Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![m\_x155](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@m\_x155](https://discourse.julialang.org/u/m_x155)
#### Post date: [February 16, 2023, 7:33pm UTC](https://discourse.julialang.org/t/can-you-connect-julia-repl-terminal-to-jupyter-notebook/94739/1 "2023-02-16T19:33:50Z")

</div>

Can you Connect Julia REPL terminal to Jupyter Notebook. In python there is something is a command %connect\_info that gives you the information that allows you to connect an ipython terminal to an open notebook. Can you do something similar with Julia? I am fairly new to both Jupyter notebook and Julia. Thanks.

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [February 17, 2023, 8:18am UTC](https://discourse.julialang.org/t/can-you-connect-julia-repl-terminal-to-jupyter-notebook/94739/2 "2023-02-17T08:18:04Z")

</div>

You can simply use the IJulia package, at the REPL do:

```julia
import Pkg; Pkg.add("IJulia")

using IJulia

notebook()

```

---

<div class="post-metadata">

### Author: ![m\_x155](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@m\_x155](https://discourse.julialang.org/u/m_x155)
#### Post date: [February 17, 2023, 4:01pm UTC](https://discourse.julialang.org/t/can-you-connect-julia-repl-terminal-to-jupyter-notebook/94739/3 "2023-02-17T16:01:51Z")

</div>

To clarify. I have a notebook that I run. It’d be nice to be able to have a REPL command line that I can then interact with the variables that exist after the notebook is run. In python one way you can do this is with %connect\_info and then opening a terminal and connecting to the notebook session. In Matlab the terminal is just connected to their notebook thing. In Julia can you get a console connected to a notebook session such that you can run the notebook and then get a console to further interact with what you have run?

---

<div class="post-metadata">

### Author: ![emfeltham](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/emfeltham/32/48046_2.png) [@emfeltham](https://discourse.julialang.org/u/emfeltham)
#### Post date: [March 26, 2023, 2:59pm UTC](https://discourse.julialang.org/t/can-you-connect-julia-repl-terminal-to-jupyter-notebook/94739/4 "2023-03-26T14:59:10Z")

</div>

You should be able to do this using RemoteREPL.jl, and following the tutorial example. You can run the `@async serve_repl()` command in a cell and then connect to it in a separate terminal session. That is the best solution I’ve been able to find so far, at least using VSCode.

---

<div class="post-metadata">

### Author: ![LeePhillips](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leephillips/32/205514_2.png) [@LeePhillips](https://discourse.julialang.org/u/LeePhillips)
#### Post date: [March 26, 2023, 4:22pm UTC](https://discourse.julialang.org/t/can-you-connect-julia-repl-terminal-to-jupyter-notebook/94739/5 "2023-03-26T16:22:53Z")

</div>

A Pluto notebook is a view of a Julia program in a text file. You can have the program open in any editor, and interact with the notebook that way. You may have a particular reason to use Jupyter, but if not, Pluto has many other advantages.
