# Gli script sono i benvenuti. Con le opzioni di IDM.

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

- Nell'app: `voltdownloadmanager-cli`, in VDM's folder
- Da: [Versione 0.1.0](https://vdm.mikaillab.com/it/news.html#v0.1.0) e successive
- Spedizione: Gratuito
- Guida completa: [Passo dopo passo nella guida](https://vdm.mikaillab.com/it/help/command-line.html)

## Opzioni di IDM, invariate

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`.

## Un downloader per il terminale

`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 per script e programmi

Con `--json`, ogni comando stampa JSON, un oggetto per riga: una riga di avanzamento ogni mezzo secondo mentre un file viene scaricato, poi il percorso, la dimensione e il tempo quando è completato. Le dimensioni sono in byte, le velocità in byte al secondo e un errore stampa un oggetto di errore, così uno script o un agente AI legge il risultato senza analizzare il testo. I [formati](https://vdm.mikaillab.com/it/help/command-line.html#json-for-scripts-and-programs) sono elencati comando per comando.

## Un'API per l'applicazione in esecuzione

Altri programmi possono chiedere all'applicazione in esecuzione i suoi download, come JSON, e metterli in pausa, avviarli, rimuoverli o eliminarli. Si connettono a una porta solo su questo computer, con un token segreto che cambia ad ogni avvio e che solo i tuoi programmi possono leggere. L'API è disattivata finché non la attivi con `voltdownloadmanager-cli api on`, e `status`, `pause`, `start`, `remove` e `delete` la usano dalla riga di comando.

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/it/features/ai-assistants.html).

## Ancora più automazione

`playlist-get`scarica i video di una playlist o di un canale, e `gallery-get` una galleria di immagini. `get` accetta fino a 128 connessioni con `-c`, `--dns` per scegliere chi trasforma i nomi in indirizzi e `--adapter` per inviare un download tramite una scheda di rete o per niente. L'opzione `/startup` dell'app la avvia nascosta nell'area di notifica. L'elenco dell'API fornisce anche le code, le categorie e lo spazio libero, e avvia e interrompe una coda per nome.

## Altro nella sezione L'app

- [Area di notifica](https://vdm.mikaillab.com/it/features/tray.html)
- [Temi](https://vdm.mikaillab.com/it/themes.html)
- [Rapporti di arresto anomalo](https://vdm.mikaillab.com/it/features/crash-reports.html)
- [87 lingue](https://vdm.mikaillab.com/it/features/languages.html)
- [Windows, Mac e Linux](https://vdm.mikaillab.com/it/features/systems.html)
- [Accessibilità](https://vdm.mikaillab.com/it/features/accessibility.html)
- [Assistenti AI](https://vdm.mikaillab.com/it/features/ai-assistants.html)
- [Tutte le funzionalità](https://vdm.mikaillab.com/it/features/)

[Modifica questa pagina su GitHub](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/website/content/features/command-line.md) [Segnala un problema con questa pagina](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) [Cronologia della pagina](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/website/content/features/command-line.md)

Gratuito, open source, senza pubblicità, senza periodo di prova.

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