> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kombai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Terminal

> Kombai can run terminal operations to install dependencies and set up a new repo. It also automatically fixes any errors found while running the terminal operation.

> [!NOTE]
>
> Kombai, by default, uses the Git Bash Terminal profile for Windows. In case,
> your system doesn't have Git Bash, it will revert to Powershell.

## Send to background

When a command runs for more than a few seconds, for example a dependency installation or a non-terminating command like `npm run dev`, the terminal command box shows the elapsed time and a **Send to background** link.

Click **Send to background** to let Kombai stop waiting and continue the chat with the output so far. The command keeps running. Sometimes, Kombai may require the terminal operation to completely execute before proceeding further in the chat. In such cases, it will keep checking the terminal status.

### Track background commands

While commands keep running in the background, the chat shows a line such as **2 background tasks** below Kombai's response. Click it to see the commands:

* **Desktop app:** The commands open in the **Background tasks** tab of the right panel.
* **IDE extension:** The line expands in place to list the running commands.

## Configure command approval

Command approval controls when Kombai asks before it runs a terminal command. It applies to every chat. The default is **Auto-approve for me**.

| Mode | What happens |
| - | - |
| **Ask Every Time** | Commands that could change something wait for you to click **Run**. Commands Kombai verifies as read-only run without asking. |
| **Auto-approve for me** | A classifier reviews each command for safety and intent. Approved commands run automatically, and everything else asks you. |
| **Bypass permissions** | Every command runs without asking for approval. |

When a command waits for you, click **Run** to run it or **Skip** to skip it. Under **Auto-approve for me**, a command the classifier didn't approve shows a **Needs review** badge.

You can change the mode in two places:

> [accordion] Through Settings
>
> 1. Open [Settings](https://docs.kombai.com/account/settings.md).
> 2. Click the **General** tab.
> 3. Select a **Command approval** mode.

> [accordion] Through the chat input box
>
> 1. Type a slash `/` in the chat input box.
> 2. Select **Shell permissions**.
> 3. Select **Ask Every Time**, **Auto-approve for me**, or **Bypass permissions**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.