# Is there way to run julia in jupyter notebook without leaving terminal?

**URL:** <https://discourse.julialang.org/t/is-there-way-to-run-julia-in-jupyter-notebook-without-leaving-terminal/9782>\
**Category:** General Usage\
**Tags:** question\
**Created:** [March 18, 2018, 5:26am UTC](https://discourse.julialang.org/t/is-there-way-to-run-julia-in-jupyter-notebook-without-leaving-terminal/9782 "2018-03-18T05:26:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![djsegal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/djsegal/32/13752_2.png) [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Post date:** [March 18, 2018, 5:26am UTC](https://discourse.julialang.org/t/is-there-way-to-run-julia-in-jupyter-notebook-without-leaving-terminal/9782/1 "2018-03-18T05:26:11Z")

</div>

Let’s say you were making a [binder](https://mybinder.org/) and wanted to build [WebIO](https://github.com/JuliaGizmos/WebIO.jl) prior to having the docker box sent to the user.

Is there a way to make a jupyter notebook with this tailored initialization routine:

```julia
cd(Pkg.dir("WebIO", "assets"))
;jupyter labextension install webio
;jupyter labextension enable webio/jupyterlab_entry

Pkg.build("WebIO")
using WebIO

```

And then run in in the [postBuild](https://github.com/djsegal/webio-binder/blob/master/postBuild) part of the binder?

* * *

It seems like this would need to get done because:

- The initialization creates javascript files
- and those are needed prior to the user rendering HTML with the package
