Skip to documentation
multicodeaiDocs
Browse documentation

Terminal

Open a shell on your own computer, in the worktree of the chat you are in, from the browser or the desktop app.

On this page

A terminal on your computer

The terminal panel opens a shell on your connected computer, like your AI tasks: in the worktree of the chat you are viewing, with your own tools, Git setup and signed-in AI command-line tools. It works the same from the browser and the desktop app; the website only relays keystrokes and output.

Open it with Terminal below the files (or Ctrl+`); it starts collapsed so it stays out of the way until you need it, and after a reload it is open or closed (and as tall) as you left it in this browser. If it can’t open, it says why (for example No computer connected or Your computer is offline) and offers Connect computer and Check again; nothing is run for you. The panel header names the computer, for example Your computer · Alice’s Mac. Each tab stays in the worktree it opened in: a parallel chat’s own worktree, otherwise the room’s. Open a chat and select + for a terminal in that chat’s worktree. If that chat has not run on this computer yet, the terminal opens in your home folder and says so; its worktree is created by the first AI task there.

If no computer is connected, the panel says so. Open the desktop app or start the runner, then select Check again. A reloaded page reattaches to a running shell for about a minute.

Terminal on your computer
The terminal panel running tests in the chat's worktree on Alice's Mac.

Actual app interface · Scroll to explore the screenshot

Terminal on your computer · Actual interface with sample data. Select the image to enlarge.

Full terminal, privacy and turning it off

Full-screen programs, colours and Tab completion use a real terminal through Python 3, which is present wherever Git’s developer tools are installed on macOS and on most Linux systems. Without it, and on Windows for now, the terminal is a basic shell and says so.

Only you can open terminals on your computers. To stop a computer hosting them, start the runner with --no-terminal, set RUNNER_TERMINAL=0, or add "terminal": false to its configuration.

A development server that cannot reach runners at all (for example without Redis) opens the shell on the machine serving the application instead, and the header says This server. Do not expose such a server terminal publicly.