# PowerShell keyboard shortcuts (Mac)

> The most used PowerShell shortcuts on Mac: Copy, or cancel the line (⌃C), Complete (⇥), Command help (F1), Clear the screen (⌃L), Previous command (↑). This page lists all 33, from the official documentation.

- Source: [Microsoft · learn.microsoft.com](https://learn.microsoft.com/en-us/powershell/module/psreadline/about/about_psreadline_functions), retrieved November 22, 2026 (2026-11-22)
- Page: https://www.modandkey.com/powershell-keyboard-shortcuts/mac
- Also: [Windows](https://www.modandkey.com/md/powershell-keyboard-shortcuts.md), [Linux](https://www.modandkey.com/md/powershell-keyboard-shortcuts/linux.md), [de](https://www.modandkey.com/md/de/powershell-tastenkombinationen/mac.md), [es](https://www.modandkey.com/md/es/atajos-de-teclado-powershell/mac.md), [fr](https://www.modandkey.com/md/fr/raccourcis-clavier-powershell/mac.md), [it](https://www.modandkey.com/md/it/scorciatoie-tastiera-powershell/mac.md)
- Unofficial reference. Not affiliated with Microsoft.

## Editing & clipboard

| Command | Shortcut |
|---|---|
| Run the command line | ↩ |
| New line (multi-line) | ⇧↩ |
| Abort (e.g. history search) | ⌃G |
| Run and recall next | ⌃O |
| Undo | ⌃_ |
| Set mark | ⌃@ |
| Copy, or cancel the line | ⌃C |
| Paste killed text (yank) | ⌃Y |

## Delete & change

| Command | Shortcut |
|---|---|
| Swap characters | ⌃T |
| Delete character or exit | ⌃D |
| Delete previous character | ⌫ |
| Delete character | ⌦ |
| Delete back to whitespace | ⌃W |
| Delete to start of input | ⌃U |
| Delete to end of input | ⌃K |

## Completion & help

| Command | Shortcut |
|---|---|
| Complete | ⇥ |
| Command help | F1 |
| Prediction: inline / list | F2 |
| Prediction tooltip | F4 |

## Cursor & selection

| Command | Shortcut |
|---|---|
| Character left | ← |
| Character right | → |
| Start of line | ↖ |
| End of line | ↘ |
| Find character forward | ⌃] |
| Select character left | ⇧← |
| Select character right | ⇧→ |
| Select to line start | ⇧↖ |
| Select to line end | ⇧↘ |

## History & screen

| Command | Shortcut |
|---|---|
| Clear the screen | ⌃L |
| Previous command | ↑ |
| Next command | ↓ |
| Search history backward | ⌃R |
| Search history forward | ⌃S |
