> 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/cli/de/referenz/environment-variables.md).

# Umgebungsvariablen

Umgebungsvariablen, die ändern, wie Devolutions CLI einen Workspace auswählt, seine Konfiguration speichert, Eingabeaufforderungen stellt, sich anmeldet und seinen Hintergrundprozess ausführt.

Setzen Sie diese Variablen, um das Verhalten von Devolutions CLI zu ändern, ohne jeder Befehl Optionen hinzuzufügen, zum Beispiel auf einem Build-Agent. Eine Option auf der Befehlszeile hat immer Vorrang vor der passenden Variable. Alle Variablen funktionieren unter Windows, macOS und Linux.

Wo eine Variable als „eingeschaltet“ beschrieben ist, schaltet jeder Wert sie ein, außer einem leeren Wert, `0`, `false` oder `no` (ohne Berücksichtigung der Groß- und Kleinschreibung), sofern nichts anderes angegeben ist.

{% hint style="info" %}
Optionen wie `--password-env`, `--value-env` oder `--api-key-env` nehmen den **Namen** einer Umgebungsvariable, den Sie wählen, nie ihren Wert. Diese Variablen sind hier nicht aufgeführt.
{% endhint %}

## Workspace-Auswahl

<table><thead><tr><th width="270">VARIABLE</th><th>WAS ES TUT</th><th width="200">WERTE</th></tr></thead><tbody><tr><td><code>DEVO_CONTEXT</code></td><td>Zu verwendender Kontext, wie <code>--context</code>. Die Option <code>--context</code> hat Vorrang.</td><td>Ein Kontextname.</td></tr><tr><td><code>DEVO_RDM_SOURCE</code></td><td>Zu verwendender Workspace-Typ, wie <code>--source</code>. Die Optionen <code>--source</code> und <code>--context</code> haben Vorrang.</td><td><code>sqlite</code>, <code>cloud</code>, <code>cloud:&#x3C;context></code>, <code>server</code>, <code>server:&#x3C;context></code>.</td></tr></tbody></table>

## Speicherort der Konfiguration

<table><thead><tr><th width="270">VARIABLE</th><th>WAS ES TUT</th><th width="200">WERTE</th></tr></thead><tbody><tr><td><code>DEVO_CLI_CONFIG_HOME</code></td><td>Ordner, in dem Devolutions CLI seine Konfiguration aufbewahrt, etwa Ihre Kontexte. Standardmäßig ist es ein <code>Devolutions/CLI</code>-Ordner im Ordner für lokale Anwendungsdaten Ihres Benutzers. Setzen Sie ihn, um einem Build-Agenten oder einem Test eine eigene isolierte Konfiguration zu geben.</td><td>Ein Ordnerpfad. Umgebungsvariablen darin werden erweitert.</td></tr><tr><td><code>RDM_CONFIG_PATH</code></td><td>Ordner des zu verwendenden lokalen Profils von Devolutions Remote Desktop Manager. Standardmäßig ist es der Ordner <code>rdm</code> im Konfigurationsordner von Devolutions CLI. Wenn er gesetzt ist, wird ein aktueller lokaler Kontext ignoriert; ein aktueller Kontext von Devolutions Cloud oder Devolutions Server gilt weiterhin. <code>devo config path</code> zeigt den verwendeten Ordner.</td><td>Ein Ordnerpfad.</td></tr></tbody></table>

`devo secretspec register` lässt SecretSpec immer `RDM_CONFIG_PATH` und `DEVO_CLI_CONFIG_HOME` an Devolutions CLI übergeben. Siehe [Devolutions CLI mit SecretSpec verwenden](/cli/de/anleitungen/secrets/secretspec.md).

## Eingabeaufforderungen und Anmeldung

<table><thead><tr><th width="270">VARIABLE</th><th>WAS ES TUT</th><th width="200">WERTE</th></tr></thead><tbody><tr><td><code>DEVO_NON_INTERACTIVE</code></td><td>Wenn es eingeschaltet ist, schlagen Befehle fehl, statt nach fehlender Eingabe zu fragen, wie <code>--non-interactive</code>.</td><td>Zum Beispiel <code>1</code> oder <code>true</code>.</td></tr><tr><td><code>DEVO_PROMPT_ANSWERS</code></td><td>Antworten auf Eingabeaufforderungen, der Reihe nach nach den Optionen <code>--answer</code> verwendet.</td><td>Antworten, getrennt durch <code>;</code> oder Zeilenumbrüche.</td></tr><tr><td><code>DEVO_CLI_USE_DEVICE_CODE</code></td><td>Wenn sie eingeschaltet ist, meldet sich <code>devo login --oauth</code> mit einem Gerätecode an statt mit der lokalen Browserumleitung, wie <code>--use-device-code</code>. Hier lassen nur ein leerer Wert, <code>0</code> oder <code>false</code> sie aus.</td><td>Zum Beispiel <code>1</code> oder <code>true</code>.</td></tr></tbody></table>

Siehe [Ohne Eingabeaufforderungen ausführen](/cli/de/fur-devops-und-administratoren/automate/non-interactive.md) und [Aus einer CI-Pipeline anmelden](/cli/de/fur-devops-und-administratoren/automate/ci-sign-in.md).

## Hintergrundprozess

<table><thead><tr><th width="270">VARIABLE</th><th>WAS ES TUT</th><th width="200">WERTE</th></tr></thead><tbody><tr><td><code>DEVO_DAEMON_MODE</code></td><td>Richtlinie für den Hintergrundprozess, wie <code>--daemon</code>. Die Option <code>--daemon</code> hat Vorrang. Jeder andere Wert stoppt jeden Befehl mit dem Fehlercode <code>invalidParameterValue</code> und dem Exitcode <code>2</code>.</td><td><code>auto</code> (Standard), <code>require</code>, <code>never</code>.</td></tr><tr><td><code>DEVO_DAEMON_AUTOSTART</code></td><td>Setzen Sie den Wert auf <code>0</code>, <code>false</code> oder <code>no</code>, damit <code>devo</code> den Hintergrundprozess nicht von selbst startet, wie <code>--no-daemon-autostart</code>.</td><td>Standard: ein.</td></tr><tr><td><code>DEVO_DAEMON_IDLE_TIMEOUT</code></td><td>Wie lange der Hintergrundprozess ohne Anforderung wartet, bevor er stoppt. Die Option <code>--idle-timeout</code> von <code>devo daemon start</code> und <code>devo daemon restart</code> hat Vorrang. Eine Dauer von null, geschrieben als <code>0s</code> oder <code>00:00:00</code>, bedeutet, dass er nie von selbst stoppt; <code>0</code> allein wird abgelehnt.</td><td>Eine Dauer wie <code>30s</code>, <code>15m</code>, <code>1h</code>, <code>1d</code> oder <code>00:30:00</code>. Standard: 60 Minuten.</td></tr></tbody></table>

Siehe [Der Hintergrundprozess startet nicht](/cli/de/hilfe/troubleshooting/daemon-wont-start.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/cli/de/referenz/environment-variables.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.
