# Skrip diterima. Termasuk opsi 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

- Di aplikasi: `voltdownloadmanager-cli`, in VDM's folder
- Sejak: [Versi 0.1.0](https://vdm.mikaillab.com/id/news.html#v0.1.0) dan yang lebih baru
- Pengiriman: Gratis
- Panduan lengkap: [Langkah demi langkah di bantuan](https://vdm.mikaillab.com/id/help/command-line.html)

## Opsi IDM, tidak berubah

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

## Pengunduh untuk 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 untuk skrip dan program

Dengan `--json`, setiap perintah mencetak JSON, satu objek per baris: baris kemajuan setiap setengah detik saat file diunduh, lalu jalur, ukuran, dan waktu saat selesai. Ukuran dalam byte, kecepatan dalam byte per detik, dan kegagalan mencetak objek kesalahan, sehingga skrip atau agen AI membaca hasilnya tanpa mengurai teks. [Format](https://vdm.mikaillab.com/id/help/command-line.html#json-for-scripts-and-programs) dicantumkan perintah demi perintah.

## API untuk aplikasi yang sedang berjalan

Program lain dapat meminta unduhan dari aplikasi yang sedang berjalan, sebagai JSON, dan menjeda, memulai, menghapus, atau menghapusnya. Mereka terhubung ke port di komputer ini saja, dengan token rahasia yang berubah setiap kali dimulai dan hanya dapat dibaca oleh program Anda sendiri. API mati sampai Anda mengaktifkannya dengan `voltdownloadmanager-cli api on`, dan `status`, `pause`, `start`, `remove`, dan `delete` menggunakannya dari baris perintah.

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

## Lebih banyak untuk skrip

`playlist-get`mengunduh video daftar putar atau saluran, dan `gallery-get` galeri gambar. `get` mengambil hingga 128 koneksi dengan `-c`, `--dns` untuk memilih siapa yang mengubah nama menjadi alamat, dan `--adapter` untuk mengirim unduhan melalui satu adaptor jaringan atau tidak sama sekali. `/startup` aplikasi memulainya tersembunyi di area notifikasi. Daftar API juga memberikan antrean, kategori, dan ruang kosong, serta memulai dan menghentikan antrean berdasarkan nama.

## Lebih lanjut di Aplikasi

- [Area notifikasi](https://vdm.mikaillab.com/id/features/tray.html)
- [Tema](https://vdm.mikaillab.com/id/themes.html)
- [Laporan kerusakan](https://vdm.mikaillab.com/id/features/crash-reports.html)
- [87 bahasa](https://vdm.mikaillab.com/id/features/languages.html)
- [Windows, Mac dan Linux](https://vdm.mikaillab.com/id/features/systems.html)
- [Aksesibilitas](https://vdm.mikaillab.com/id/features/accessibility.html)
- [Asisten AI](https://vdm.mikaillab.com/id/features/ai-assistants.html)
- [Setiap fitur](https://vdm.mikaillab.com/id/features/)

[Edit halaman ini di GitHub](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/website/content/features/command-line.md) [Laporkan masalah dengan halaman ini](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) [Riwayat halaman](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/website/content/features/command-line.md)

Gratis, sumber terbuka, tanpa iklan, tanpa masa uji coba.

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