Jupyter Notebook keyboard shortcuts
Jupyter Notebook keeps the notebook itself in the browser, so its most useful keys switch between editing and command mode, run cells, search, and control the kernel.
Windows, macOS, Linux · 6 shortcutsNotebook editing
Run a cell, switch the notebook between editing and command mode, and search the current page.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Run the current cell | ShiftEnter | ShiftEnter | ShiftEnter |
| Switch to command mode | Esc | Esc | Esc |
| Switch to edit mode | Enter | Enter | Enter |
| Find in the notebook | CtrlF | CmdF | CtrlF |
Kernel control
These command-mode sequences interrupt or restart the computational process behind the notebook.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Interrupt the kernel | ii | ii | ii |
| Restart the kernel | 00 | 00 | 00 |