| CARBONIAN-NB(1) | Carbonian Manual | CARBONIAN-NB(1) |
carbonian-nb - run a Jupyter notebook (Python, R, Julia) in the terminal and show its outputs and sixel figures
carbonian-nb [--last|--preview] [--nav] [--code] [--figs] [--save] NOTEBOOK.ipynb
carbonian-nb runs a notebook's code cells in order, cell by cell, and shows in the terminal what each printed and drew: the Markdown cells, a line In [n] with the first line of the cell, its text output and its figures (as sixel pictures). An error in a cell is shown and the run goes on, as in Jupyter.
The runner is chosen by the language the notebook names (its kernelspec's language, else its language_info's name, else the kernelspec's name, else Python): R (r, ir) is run by rnb, Julia by jnb (carbonian-jnb(1)), Python by pnb, the helpers in /usr/lib/carbonian/notebook. Any other language is refused.
carbonian-notebook FILE.ipynb does the same; see carbonian-notebook(1) for what a run does and for the R and Julia set-up.
1 when the notebook does not exist, cannot be saved into, or names a language with no runner; 2 for an unknown argument, no notebook, or --save with --last; otherwise the runner's or the viewer's status.
carbonian-notebook(1), carbonian-jnb(1), carbonian-view(1), carbonian-gallery(1)
| 2026-11-03 | Carbonian |