runt notebooks
List all open notebooks with kernel and environment information.runt ps
Options
Output in JSON format
Example Output
Column Descriptions
- NOTEBOOK: Notebook file path or UUID (for untitled notebooks)
- KERNEL: Kernel type (python, deno, julia, etc.)
- ENV: Environment source:
uv:inline— Inline dependencies in notebook metadatauv:pyproject— Dependencies frompyproject.tomluv:prewarmed— Pool environment (UV backend)conda:inline— Inline conda dependenciesconda:env_yml— Dependencies fromenvironment.ymlconda:pixi— Dependencies frompixi.tomlconda:prewarmed— Pool environment (Conda backend)-— No environment (Deno kernels don’t use env pools)
- STATUS: Kernel execution state (idle, busy, starting)
- PEERS: Number of connected clients (open windows/tabs)
JSON Output
runt shutdown
Shutdown a notebook’s kernel and evict it from the daemon.Arguments
Notebook file path or notebook ID (UUID for untitled notebooks).
- For saved notebooks: Use the file path (relative or absolute)
- For untitled notebooks: Use the UUID from
runt notebooks
Examples
Shutdown by file path
Shutdown untitled notebook
What Happens on Shutdown
- Kernel shutdown: Graceful shutdown request sent to kernel process
- Process termination: Kernel process is killed if it doesn’t exit
- Room eviction: Notebook room is removed from daemon state
- Connection cleanup: All peer connections are closed
Shutting down a notebook does not close the notebook file in the app. It only stops the kernel and cleans up server-side state. The notebook can be reopened and will start a fresh kernel.
Environment Sources Explained
UV Environments
uv:inline
uv:inline
Dependencies are stored directly in the notebook’s metadata:Environments are cached at
~/.cache/runt/inline-envs/ by dependency hash.uv:pyproject
uv:pyproject
Dependencies come from a The daemon walks up from the notebook’s directory to find the closest
pyproject.toml file in the notebook’s directory or parent directories:pyproject.toml.uv:prewarmed
uv:prewarmed
A prewarmed environment from the pool. The daemon maintains 2 ready-to-use UV environments with default packages.Default packages can be configured in Settings → Environments.
Conda Environments
conda:env_yml
conda:env_yml
Dependencies from an
environment.yml file:conda:pixi
conda:pixi
Dependencies from a
pixi.toml file:conda:prewarmed
conda:prewarmed
A prewarmed Conda environment from the pool. Similar to
uv:prewarmed but uses Conda/Mamba.conda:inline
conda:inline
Not yet implemented. Falls back to
conda:prewarmed.Use Cases
Monitor active notebooks
Clean up idle notebooks
Check environment sources
Troubleshooting
No notebooks listed
No notebooks listed
Symptoms:
runt notebooks shows “No open notebooks”Explanation: This command only lists notebooks that are:- Currently open in the nteract app
- Managed by the daemon
Daemon not running error
Daemon not running error
Error: “Failed to list notebooks: … Is the daemon running?”Solution:
Notebook won't shutdown
Notebook won't shutdown
Symptoms:
runt shutdown times out or notebook stays openSolution:- Check if the notebook is still open in the app
- Close the notebook window in the app
- Try shutting down again
- As a last resort, restart the daemon:
runt daemon restart
Related Commands
runt daemon status— Check environment pool statusrunt daemon flush— Rebuild prewarmed environmentsrunt jupyter ps— List standalone kernels (not managed by daemon)