C++ Interactive Notebook: Xeus-Cling for Jupyter
Pythonistas use Jupyter to run codes interactively and visualize things. C++ programmers can also use Jupyter through Xeus-Cling.
- Platform: Linux (including WSL) or macOS.
- Prerequisite: a Conda-like package manager. I chose Micromamba (installation).
- Create an environment and use it.
micromamba create -n cling
micromamba activate cling - Install JupyterLab and Xeus-Cling.
micromamba install jupyterlab -c conda-forge
micromamba install xeus-cling -c conda-forge - Run JupyterLab.
micromamba run jupyter lab
To leave the environment:
micromamba deactivate