# Scripts bienvenidos. Incluye los parámetros de 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

- En la aplicación: `voltdownloadmanager-cli`, in VDM's folder
- Desde: [Versión 0.1.0](https://vdm.mikaillab.com/es/news.html#v0.1.0) y posteriores
- Envío: Gratuito
- Guía completa: [Paso a paso en la ayuda](https://vdm.mikaillab.com/es/help/command-line.html)

## Parámetros de IDM, sin cambios

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 descargador para el 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 para scripts y programas

Con `--json`, cada comando imprime JSON, un objeto por línea: una línea de progreso cada medio segundo mientras se descarga un archivo, luego la ruta, el tamaño y el tiempo cuando termina. Los tamaños están en bytes, las velocidades en bytes por segundo, y un fallo imprime un objeto de error, de modo que un script o un agente de IA lee el resultado sin analizar texto. Los [formatos](https://vdm.mikaillab.com/es/help/command-line.html#json-for-scripts-and-programs) se enumeran comando por comando.

## Una API para la aplicación en ejecución

Otros programas pueden solicitar a la aplicación en ejecución sus descargas, como JSON, y pausarlas, iniciarlas, eliminarlas o borrarlas. Se conectan a un puerto solo en este equipo, con un token secreto que cambia en cada inicio y que solo sus propios programas pueden leer. La API está desactivada hasta que la active con `voltdownloadmanager-cli api on`, y `status`, `pause`, `start`, `remove` y `delete` la usan desde la línea de comandos.

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

## Más para scripts

`playlist-get`descarga los vídeos de una lista de reproducción o canal, y `gallery-get` una galería de imágenes. `get` admite hasta 128 conexiones con `-c`, `--dns` para elegir quién convierte los nombres en direcciones, y `--adapter` para enviar una descarga a través de un adaptador de red o no enviarla en absoluto. El `/startup` de la aplicación la inicia oculta en el área de notificación. La lista de la API también proporciona las colas, las categorías y el espacio libre, e inicia y detiene una cola por nombre.

## Más en La aplicación

- [Área de notificación](https://vdm.mikaillab.com/es/features/tray.html)
- [Temas](https://vdm.mikaillab.com/es/themes.html)
- [Informes de errores](https://vdm.mikaillab.com/es/features/crash-reports.html)
- [87 idiomas](https://vdm.mikaillab.com/es/features/languages.html)
- [Windows, Mac y Linux](https://vdm.mikaillab.com/es/features/systems.html)
- [Accesibilidad](https://vdm.mikaillab.com/es/features/accessibility.html)
- [Asistentes de IA](https://vdm.mikaillab.com/es/features/ai-assistants.html)
- [Todas las funciones](https://vdm.mikaillab.com/es/features/)

[Editar esta página en GitHub](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/website/content/features/command-line.md) [Informar de un problema con esta página](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) [Historial de la página](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/website/content/features/command-line.md)

Gratis, código abierto, sin anuncios, sin prueba.

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