Run all stale cells
Run all stale cells without re-running cells that already use the latest code and inputs.- UI
- Keyboard shortcut
Click 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
Click Stop () in the cell’s toolbar to stop the running cell.
Disable or enable a cell
Disable a cell to prevent both the cell and its dependencies from running.- Press
Escto enter command mode. - To open the command palette, press Command+P on macOS or Control+P on Windows.
- From the dropdown menu, select Disable execution.
Restart the notebook runtime
Restart the runtime to clear the notebook’s variables and other in-memory state.- Click the action ( ) menu in the upper-right corner of the notebook.
- From the dropdown menu, select Restart kernel.