Run all stale cells
Run all stale cells without rerunning cells that already use the latest code and inputs.- UI
- Keyboard shortcut
Select Run all stale cells () in the lower-right corner of the notebook.
Rerun all cells
Rerun every cell in the notebook:- Press Command+K on macOS or Control+K on Windows or Linux to open the command palette.
- Select Re-run all cells.
Stop a running cell
- UI
- Keyboard shortcut
Select the Stop button () in the cell’s toolbar to stop the running cell.
Disable or enable a cell
Prevent a cell, and its dependencies, from running.- Press Esc to enter command mode.
- Press Command+P on macOS or Control+P on Windows or Linux to open the command palette
- From the dropdown menu, select Disable execution.
Restart the notebook runtime
Restart a notebook’s kernel to stop the current kernel and start a new one.- Select action ( ) in the upper-right corner of the notebook.
- From the dropdown menu, select Restart kernel.