# ed download

> Download videos, images, carousels and social posts through Edith's persistent background queue. Enable Downloads in Extensions, then open Media > Downloads.

- Canonical URL: https://getedith.pro/docs/cli/download
- Updated: 2026-12-02

Download videos, images, carousels and social posts through Edith's persistent
background queue. Enable **Downloads** in Extensions, then open **Media >
Downloads**. Music does not need to be enabled.

Paste one or more complete web links, choose a format and destination, and select
**Add to queue**. Progress, cancellation, retry, logs, opening files and revealing
them in Finder are available in the same page. The background agent keeps working
when the window closes. Interrupted jobs can be retried after an agent restart.

## Formats and providers

| Format | Provider | Result |
| --- | --- | --- |
| Entire post (`post`) | gallery-dl, then yt-dlp if no files were found | Photos and videos from a post or carousel, in their source formats |
| Images (`images`) | gallery-dl | Image files only, including direct image URLs |
| Video (`video`) | yt-dlp and FFmpeg | Best available video and audio, merged to MP4 when merging is needed |
| Audio (`audio`) | yt-dlp and FFmpeg | Audio extracted to M4A |

Downloads needs yt-dlp and FFmpeg. Deno lets yt-dlp read YouTube pages, and
gallery-dl adds photos and entire posts; both are optional. Install them from
Settings > Tools or with:

```sh
ed tools install yt-dlp
ed tools install ffmpeg
ed tools install deno
ed tools install gallery-dl
ed extensions enable downloads
```

The providers cover YouTube, Instagram, TikTok, X/Twitter, Facebook, Reddit,
Pinterest, Flickr, Snapchat, LinkedIn, Vimeo, Twitch and many other sites.
Coverage varies by media type, installed extractor version, region and whether
the post requires login. Accepting a URL does not guarantee the platform will
serve its media. Unsupported links, removed posts and authentication errors are
reported in the queue. There is no paid API or proxy service to configure.

- [yt-dlp supported sites](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)
- [gallery-dl supported sites](https://github.com/mikf/gallery-dl/blob/master/docs/supportedsites.md)

## Destinations and login

Audio defaults to the configured Music folder. Videos, images and entire posts
default to `~/Downloads/Edith`. Choose a folder in the UI or pass `--directory`.
Each gallery gets its own queue-ID subfolder so different posts do not collide.
Video and audio filenames include the source ID. Existing files are not
overwritten, and removing queue entries never deletes downloaded files.
Audio extraction prefers audio-only streams and preserves its source file when
only a combined audio/video stream is available, protecting existing downloads
in the same destination.

For login-required posts, explicitly choose Safari, Chrome, Firefox, Brave or
Edge under **Login cookies**, or pass `--browser`. The local download tool reads
that browser's cookies; Edith stores only the browser choice in the queue.
Public downloads do not read browser cookies. Browser access can require macOS
permission, and authenticated or protected content may still be unavailable.

Each request accepts at most 100 URLs and the queue holds at most 128 active
items. A link downloads at most 100 media items. Whole-channel and large-playlist
archiving are outside this workflow. User-level downloader configuration files
are ignored so their output paths and postprocessing commands cannot alter a job.

## Commands

| Command | What it does |
| --- | --- |
| [`ed download ls`](https://getedith.pro/docs/cli/download/ls) | Lists the queue, newest first; `--active` filters unfinished jobs. |
| [`ed download status`](https://getedith.pro/docs/cli/download/status) | Summarizes every lifecycle state. |
| [`ed download add`](https://getedith.pro/docs/cli/download/add) | Queues web links with a format, destination and optional browser. |
| [`ed download retry <n>`](https://getedith.pro/docs/cli/download/retry) | Retries a failed or interrupted job; `--all` retries all. |
| [`ed download cancel [n]`](./cancel.md) | Cancels one job, or all active jobs, while keeping history. |
| [`ed download rm <n> --yes`](https://getedith.pro/docs/cli/download/rm) | Removes a queue record. |
| [`ed download clear --yes`](https://getedith.pro/docs/cli/download/clear) | Clears finished history. |
| [`ed download open <n>`](https://getedith.pro/docs/cli/download/open) | Opens completed files. |
| [`ed download reveal <n>`](https://getedith.pro/docs/cli/download/reveal) | Reveals completed files in Finder. |
| [`ed download tool`](https://getedith.pro/docs/cli/download/tool) | Reports yt-dlp; `--update` requests its self-update. |
| [`ed download inbox`](https://getedith.pro/docs/cli/download/inbox) | Reviews recent files in a folder you choose and moves ready ones by hand. |

All commands accept `--json`. `ed downloads` and `ed dl` are aliases;
`ed download` defaults to `ls`. Queue mutations require the background agent;
saved history can be read offline. `ed tools update yt-dlp` updates the copy
Edith installed, or a Homebrew copy with `brew upgrade`.

```sh
ed download add 'https://www.instagram.com/p/example/' --kind post --browser firefox
ed download add 'https://example.com/photo.png' --kind images --directory ~/Pictures/Saved
ed download add 'https://www.youtube.com/watch?v=example' --kind video
ed download ls --json
```

## Related commands

- [`ed download add`](https://getedith.pro/docs/cli/download/add)
- [`ed download inbox`](https://getedith.pro/docs/cli/download/inbox)
- [`ed tools`](https://getedith.pro/docs/cli/tools)
- [`ed music`](https://getedith.pro/docs/cli/music)
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
