docs/guides/deploying/jupyterhub.md
For full documentation, visit the marimo-jupyter-extension repository.
The marimo JupyterLab extension integrates marimo into JupyterLab and JupyterHub, letting you launch marimo notebooks directly from JupyterLab's launcher, manage running sessions, and convert Jupyter notebooks to marimo format.
<figure> <figcaption>marimo running in a JupyterHub deployment, in JupyterLab.</figcaption> </figure>_mo.py files to open directly in marimo.py files to edit with marimo, or .ipynb files to convert to marimo formatuvx| File Type | Double-click | Right-click |
|---|---|---|
_mo.py | Opens in marimo | "Edit with marimo" |
.py | Opens in standard editor | "Edit with marimo" |
.ipynb | Opens in Jupyter | "Convert to marimo" |
uv pip install 'marimo[sandbox]>=0.19.11' marimo-jupyter-extension
| Package | Install location | Why |
|---|---|---|
marimo | User's environment | Access user's packages |
marimo-jupyter-extension | Jupyter's environment | Jupyter must import it |
Configure the extension in jupyterhub_config.py:
# Explicit marimo path
c.MarimoProxyConfig.marimo_path = "/opt/bin/marimo"
# Or use uvx mode (sandbox)
c.MarimoProxyConfig.uvx_path = "/usr/local/bin/uvx"
# Startup timeout (default: 60s)
c.MarimoProxyConfig.timeout = 120
| Issue | Solution |
|---|---|
| marimo icon missing | Install marimo-jupyter-extension in Jupyter's environment |
| marimo fails to launch | Ensure marimo is in PATH or configure MarimoProxyConfig.marimo_path |
| Modules not found | Install marimo in the same environment as your packages |
| Sandbox features not working | Upgrade to marimo[sandbox]>=0.19.11 |
For more troubleshooting tips, see the full documentation.