IJulia is a Julia-language backend combined with the Jupyter interactive environment (also used by IPython). This combination allows you to interact with the Julia language using Jupyter/IPython's powerful graphical notebook, which combines code, formatted text, math, and multimedia in a single document. It also works with JupyterLab, a Jupyter-based integrated development environment for notebooks and code.
(IJulia notebooks can also be re-used in other Julia code via the NBInclude package.)
Install IJulia from the REPL by pressing
] to enter pkg mode and entering
If you already have Python/Jupyter installed on your machine, this process will also install a
that tells Jupyter how to launch Julia. You can then launch the notebook server the usual
way by running
jupyter notebook in the terminal.
Alternatively, you can have IJulia create and manage its own Python/Jupyter installation.
To do this, type the following in Julia, at the
using IJulia notebook()
to launch the IJulia notebook in your browser.
The first time you run
notebook(), it will prompt you
for whether it should install Jupyter. Hit enter to
have it use the Conda.jl
package to install a minimal Python+Jupyter distribution (via
Miniconda) that is
private to Julia (not in your
For more advanced installation options, such as specifying a specific Jupyter installation to use, see the documentation.
1 day ago