carbonian.org / manual pages
CARBONIAN-JNB(1) Carbonian Manual CARBONIAN-JNB(1)

carbonian-jnb - run a Julia notebook cell by cell, with Makie figures in the palette shown as sixel

carbonian-jnb [--nav] [--code] [--figs] [--save] NOTEBOOK.ipynb
carbonian-jnb --setup

The Julia notebook runner, which carbonian-nb(1) calls for a notebook whose language is Julia. It runs the notebook's code cells in order with julia, one top-level expression at a time, keeping each cell's text output and its Makie figures, and shows them in the terminal in order, the figures as sixel pictures. As in Jupyter only the value of a cell's last expression is shown, and not when it ends with ;. An error in a cell is shown and the run goes on. A line on standard error tells which cell is running.

CairoMakie is loaded when a cell mentions Makie. A Makie figure shown is saved as a picture, and sent to the VR home too while it runs (carbonian-vr-figure(1)). Its theme is the palette's: the user's ~/.config/carbonian/makie.jl when there is one, else one made for the run.

Julia's project is the notebook's (a Project.toml in its folder or the one above), else the shared environment @carbonian, which --setup makes.

The run happens in a temporary tree that links the project's folders but has an empty docs/, so what a notebook exports there is thrown away. Julia is not in Debian: install it from julialang.org or with juliaup.

Add CairoMakie to the environment @carbonian and precompile it, then exit.
Open the result in carbonian-view(1), a page at a time, instead of printing it.
Also show each cell's code.
Only the figures.
Write the outputs back into the notebook file.

To show the output saved in a notebook without running it, use carbonian-nb --last.

The Julia project to use instead.
off loads no palette theme.
no keeps the figures out of the VR home.
Set: the run's temporary folder is kept, and its name printed.

~/.config/carbonian/makie.jl

The palette's Makie theme, made by /usr/lib/carbonian/notebook/carbonian_makie.py --install.
/usr/lib/carbonian/notebook/jnb
The runner; this command runs it.

carbonian-nb(1), carbonian-notebook(1), carbonian-vr-figure(1), carbonian-view(1)

2026-11-03 Carbonian