runt notebook command launches the nteract Desktop application and optionally opens a notebook file.
Usage
Arguments
Path to a notebook file (
.ipynb) or directory to open. Supports both absolute and relative paths.- If a file path is provided, that notebook opens in the app
- If a directory is provided, the app opens in that directory
- If omitted, the app opens without loading a file
Options
Runtime for new notebooks. Valid values:
python, deno.Only applies when creating new notebooks in the app session.Examples
Open an existing notebook
Open with specific runtime
Open app without a file
Platform Behavior
- macOS
- Linux
- Windows
Uses
open -a nteract to launch the app. If the app is already running, it activates the existing instance and opens the notebook in a new window.Working Directory
The app captures its working directory at startup:- If launched from a terminal, uses the current shell directory
- If launched from an app bundle (macOS double-click), uses
~/notebooks
Related Commands
runt notebooks— List currently open notebooksrunt shutdown— Shutdown a notebook’s kernelrunt daemon status— Check if daemon is running
Troubleshooting
App doesn't launch
App doesn't launch
Symptoms: “Failed to launch nteract” errorSolution:
- Verify the app is installed:
- macOS: Check
/Applications/nteract.appexists - Linux: Run
which nteract - Windows: Check
%LOCALAPPDATA%\Programs\nteract
- macOS: Check
- Reinstall nteract Desktop from GitHub Releases
Notebook won't open
Notebook won't open
Symptoms: App launches but notebook doesn’t loadSolution:
- Verify the file path is correct and file exists
- Check file has
.ipynbextension - Ensure file is readable (check permissions)
- Try opening from the app’s File menu instead
Runtime flag ignored
Runtime flag ignored
Symptoms:
--runtime flag doesn’t change kernel typeNote: The --runtime flag only affects new notebooks created during the session. Opening an existing .ipynb file always uses the runtime specified in the notebook’s metadata.