# Skripte willkommen. IDM-Parameter enthalten.

VDM takes IDM's command-line switches, so scripts written for IDM can hand it their downloads. A separate tool downloads in a terminal, and a local API lets other programs see and control the running app.

**Command line** Volt Download Manager

- In der App: `voltdownloadmanager-cli`, in VDM's folder
- Seit: [Version 0.1.0](https://vdm.mikaillab.com/de/news.html#v0.1.0) und später
- Versand: Kostenlos
- Vollständige Anleitung: [Schritt für Schritt in der Hilfe](https://vdm.mikaillab.com/de/help/command-line.html)

## IDM-Parameter, unverändert

The app understands the same switches as IDM: `/d` for the address, `/p` for the folder, `/f` for the file name, `/a` to queue it without starting, `/n` to skip the **Download File Info** window, and `/s` to start the main download queue. A batch file or another program that drives IDM this way can drive VDM by changing the program's name.

```
voltdownloadmanager.exe /d https://example.com/files/report.pdf /p D:\Reports /n
```

If VDM is running, the command goes to it; if not, VDM starts and carries it out. On macOS and Linux the program has the same name, without `.exe`.

## Ein Downloader für das Terminal

`voltdownloadmanager-cli` comes with every download of VDM and works without the app running. `get` downloads a file over several connections with a progress line, **Ctrl+C** pauses it and `resume` carries on later. `video-get` downloads a video, and `torrent-get` a torrent or only some of its files. `video-info` and `torrent-info` say what there is to choose before you download. `voltdownloadmanager-cli help <command>` lists every option, and a command that fails exits with code 1.

## JSON für Skripte und Programme

Mit `--json` gibt jeder Befehl JSON aus, ein Objekt pro Zeile: eine Fortschrittsanzeige jede halbe Sekunde, während eine Datei heruntergeladen wird, dann den Pfad, die Größe und die Zeit, wenn sie fertig ist. Größen sind in Bytes, Geschwindigkeiten in Bytes pro Sekunde, und ein Fehler gibt ein Fehlerobjekt aus, sodass ein Skript oder ein KI-Agent das Ergebnis ohne Textanalyse lesen kann. Die [Formate](https://vdm.mikaillab.com/de/help/command-line.html#json-for-scripts-and-programs) sind Befehl für Befehl aufgelistet.

## Eine API für die laufende App

Andere Programme können die laufende App nach ihren Downloads fragen, als JSON, und diese pausieren, starten, entfernen oder löschen. Sie verbinden sich nur mit einem Port auf diesem Computer, mit einem geheimen Token, das sich bei jedem Start ändert und das nur Ihre eigenen Programme lesen können. Die API ist deaktiviert, bis Sie sie mit `voltdownloadmanager-cli api on` aktivieren, und `status`, `pause`, `start`, `remove` und `delete` verwenden sie über die Befehlszeile.

Every request and answer is described field by field in a [JSON Schema](https://vdm.mikaillab.com/automation-api.schema.json), made from the code the app answers with, so programs can check what they send or generate their types from it. AI assistants use the same API through VDM's [MCP server](https://vdm.mikaillab.com/de/features/ai-assistants.html).

## Mehr zum Skripten

`playlist-get`lädt Videos einer Wiedergabeliste oder eines Kanals herunter, und `gallery-get` eine Bildergalerie. `get` verwendet bis zu 128 Verbindungen mit `-c`, `--dns` zur Auswahl, wer Namen in Adressen umwandelt, und `--adapter`, um einen Download über einen Netzwerkadapter zu senden oder gar nicht. Das `/startup` der App startet sie versteckt im Infobereich. Die API-Liste enthält auch die Warteschlangen, die Kategorien und den freien Speicherplatz und startet und stoppt eine Warteschlange nach Namen.

## Mehr in „Die App“

- [Benachrichtigungsbereich](https://vdm.mikaillab.com/de/features/tray.html)
- [Designs](https://vdm.mikaillab.com/de/themes.html)
- [Absturzberichte](https://vdm.mikaillab.com/de/features/crash-reports.html)
- [87 Sprachen](https://vdm.mikaillab.com/de/features/languages.html)
- [Windows, Mac und Linux](https://vdm.mikaillab.com/de/features/systems.html)
- [Barrierefreiheit](https://vdm.mikaillab.com/de/features/accessibility.html)
- [KI-Assistenten](https://vdm.mikaillab.com/de/features/ai-assistants.html)
- [Alle Funktionen](https://vdm.mikaillab.com/de/features/)

[Diese Seite auf GitHub bearbeiten](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/website/content/features/command-line.md) [Ein Problem mit dieser Seite melden](https://github.com/mikailhossenimran/voltdownloadmanager/issues/new?template=website.yml&title=Website%3A%20Command%20line&page=https%3A//vdm.mikaillab.com/features/command-line.html) [Seitenverlauf](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/website/content/features/command-line.md)

Kostenlos, Open Source, keine Werbung, keine Testversion.

[Download Volt Download Manager](https://vdm.mikaillab.com/de/download.html)
