> For the complete documentation index, see [llms.txt](https://stakpak.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stakpak.gitbook.io/docs/how-it-works/shell-mode.md).

# 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
