These are the default shortcuts for the most common terminal actions across different operating systems. Windows / Linux Open/Close Terminal Start New Session (Tab) Close Current Tab Switch Between Tabs Clear Terminal Screen Return to Editor Advanced Terminal Navigation Split Terminal
Select , press your desired key combination, and click OK . 💡 Pro-Tip: Switching Between Editor and Terminal
Using PhpStorm terminal shortcuts offers several benefits, including:
: Alt + F12 (Windows/Linux) or ⌥ + F12 (macOS). This opens the tool window or focuses it if it’s already open. phpstorm terminal shortcut top
By committing these PhpStorm terminal shortcuts to muscle memory, you eliminate the cognitive friction of context switching. Your development becomes faster, cleaner, and entirely driven from the comfort of your IDE window.
Enable or toggle Copy on selection to streamline your clipboard actions. Summary Cheat Sheet Windows / Linux Toggle Terminal Window Alt + F12 Option + F12 Open New Terminal Tab Ctrl + Shift + T Cmd + Shift + T Close Active Tab Ctrl + Shift + W Cmd + Shift + W Move Cursor to Start of Line Ctrl + A Ctrl + A Search Command History Ctrl + R Ctrl + R
Once your cursor is inside the terminal, navigating long commands can be tedious. Use these universal CLI shortcuts (which work perfectly inside PHPStorm’s terminal) to edit text fast. Ctrl + A Move cursor to the end of the line: Ctrl + E Clear the entire terminal screen: Ctrl + L (or type clear ) These are the default shortcuts for the most
Clears your terminal buffer screen of visual clutter without resetting your environmental variables or history. 🔧 How to Customize Your Terminal Shortcuts
Your journey to the command line is never more than a few keystrokes away. Here's every way to open the terminal in PhpStorm:
Alt+F12 (if already open) brings focus back to the editor, or use Esc to move focus from Terminal to Editor. Pro Tips & Advanced Usage This opens the tool window or focuses it
Instantly snaps your cursor to the absolute start or end of your current command line. Clear the Screen Windows / Linux / macOS: Ctrl + L
Ctrl + Shift + T (while the terminal is focused)
on Mac) and type "Terminal" to quickly find the tool window or related actions. set up specific shells (like Zsh or PowerShell) within your PhpStorm terminal? Terminal | PhpStorm Documentation - JetBrains
PHPStorm global shortcuts take precedence over terminal commands. Power-User Workflow: Integrating the Terminal with Code