> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/terminal-command.md).

# Terminal command

Configure Terminal command entries in Remote Desktop Manager, including the command to run, its parameters, error display, and command palette availability.

This article details the many settings and options available for ***Terminal command*** tool entries in Remote Desktop Manager.

<table data-header-hidden><thead><tr><th width="200"></th><th></th></tr></thead><tbody><tr><td><strong>SETTINGS</strong></td><td><strong>DESCRIPTION</strong></td></tr><tr><td><strong>Name</strong></td><td>The name of the entry.</td></tr><tr><td><strong>Folder</strong></td><td>The folder where the entry is located.</td></tr></tbody></table>

### General

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Run</strong></td><td>The command to run in the terminal. The field accepts several lines and is required. Insert a parameter defined in the <em><strong>Parameters</strong></em> tab with its number, for example <code>{1}</code>.</td></tr></tbody></table>

### Parameters

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Add</strong></td><td>Add a parameter row.</td></tr><tr><td><strong>Delete</strong></td><td>Remove the last parameter row added after <code>{5}</code>. Unavailable when no such row exists.</td></tr><tr><td><strong>Parameter name</strong></td><td>The label of the parameter. Click the name to open a window that renames the parameter. A new parameter is named <em><strong>Parameter #</strong></em> followed by its number.</td></tr><tr><td><strong>#</strong></td><td>The token that inserts the parameter in the <em><strong>Run</strong></em> field, from <code>{1}</code> upward. Parameters <code>{1}</code> to <code>{5}</code> are always available.</td></tr><tr><td><strong>Type</strong></td><td><p>The kind of value the parameter holds. Select one of:</p><ul><li><strong>Unused</strong> — The <em><strong>Default value</strong></em> field is unavailable.</li><li><strong>Text</strong></li><li><strong>Secured</strong> — The value is masked.</li><li><strong>Env. variable</strong></li></ul><p>The type of a <em><strong>Secured</strong></em> parameter that has a value cannot be changed by a user who is not allowed to view sensitive information.</p></td></tr><tr><td><strong>Default value</strong></td><td>The value of the parameter. The value of a <em><strong>Secured</strong></em> parameter is masked.</td></tr><tr><td><strong>Delete button of a row</strong></td><td>Clear the parameter: its value is erased, its type returns to <em><strong>Unused</strong></em>, and its name returns to <em><strong>Parameter #</strong></em> followed by its number. Shown when the type of the parameter is not <em><strong>Unused</strong></em>.</td></tr><tr><td><strong>Example in Run field</strong></td><td>An example of a <em><strong>Run</strong></em> command that uses parameters: <code>C:\My folder\mypgm.exe -u="{1}" -p="{2}"</code>.</td></tr><tr><td><strong>Prompt for parameters on open</strong></td><td>Prompt for the parameter values when the command runs.</td></tr><tr><td><strong>View command</strong></td><td>Show the <em><strong>Run</strong></em> command with the parameter values inserted. Unavailable when a <em><strong>Secured</strong></em> parameter has a value and the user is not allowed to view sensitive information.</td></tr></tbody></table>

### Advanced

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Do not display error messages</strong></td><td>Hide the error messages raised while the command runs.</td></tr><tr><td><strong>Prompt for command-line</strong></td><td>Prompt for the command line before it runs.</td></tr><tr><td colspan="2"><strong>Command palette</strong></td></tr><tr><td><strong>Availability</strong></td><td><p>Whether the command is available in the terminal command palette. Select one of:</p><ul><li><strong>Default</strong> — uses the value set in the application options. The item shows that value in parentheses, for example <em><strong>Default (Yes)</strong></em>.</li><li><strong>Yes</strong></li><li><strong>No</strong></li></ul></td></tr></tbody></table>

### See also

* [Macro parameters](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/macro-parameters.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/terminal-command.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
