Skip to main content

Terminal

Phoenix Code has a built-in terminal so you can run commands without leaving the editor.

The terminal is available only in desktop apps.

What you can do

A real terminal lives inside Phoenix Code now.

  • Tabbed terminal — open multiple shells at once, each with running-process info and friendly close prompts.
  • Right-click for Copy, Paste, and Clear.
  • Open in Integrated Terminal from any folder in the file tree.
  • Shift+Escape flips focus between editor and terminal; F4 opens the panel and cycles between terminal tabs when multiple are open.
  • All keyboard shortcuts route to the terminal when it's focused — Ctrl+L, Ctrl+K, the works.

Opening the Terminal

Open the terminal in any of these ways:

  • Click the Terminal button in the bottom-right toolbar
  • Go to View > Terminal from the menu bar
  • Press F4
  • Right-click a file or folder in the project tree and choose Integrated Terminal. The terminal opens at that folder (or the file's containing folder)

Integrated Terminal item in the project tree right-click menu

note

Terminal opens your system's terminal app (macOS Terminal, Windows Command Prompt, etc.) at that location.

Integrated Terminal opens inside Phoenix Code's built-in panel.

Tabs

You can have multiple terminals open at the same time, each in its own tab. The tab sidebar shows the running process name for each terminal.

To create a new tab, click the + button at the bottom of the tab sidebar.

To close a single tab, hover over it and click the X button. To close every terminal at once, click the panel's X button. Phoenix Code asks for confirmation if any process is still running.

When the terminal is focused and more than one tab is open, pressing F4 cycles to the next tab.

Terminal panel with multiple tabs in the sidebar

Shell Selection

Click the dropdown button (chevron icon) next to the new tab button to pick a different shell. The default options are:

  • macOS: zsh, bash, fish
  • Linux: bash, zsh, fish
  • Windows: PowerShell, Command Prompt, Git Bash, WSL

Selecting a shell sets it as the default and opens a new terminal with it right away.

Only shells installed on your system are shown. Any other compatible shell on your system (for example, PowerShell Core on Windows) also appears in the list.

Keyboard Shortcuts

ActionShortcut
Open terminal / cycle to next tab (when more than one is open)F4
Switch focus between editor and terminalShift + Escape
Clear terminal bufferCtrl/Cmd + K