# Shell Mode

<figure><img src="/files/qdWhZpaBEGibyBfQOl99" alt=""><figcaption></figcaption></figure>

Shell Mode is Stakpak’s built-in terminal designed to handle interactive shell commands that require real-time user input, such as password prompts or confirmations. It allows you to run commands that pause for user decisions or credentials.

To start Shell Mode, simply type `$`

#### When to use shell mode?

Use Shell Mode when your command:

* Requires sudo or elevated permissions
* Prompts for a password
* Asks for yes/no confirmation
* Launches an interactive script


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://stakpak.gitbook.io/docs/how-it-works/shell-mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
