Commit bb47b02597

bb47b025974e2394c5baf80bbcccaee4460ed2d3

parent: bd8311e940

Unsigned

Azin Sharaf <azin.sharaf@icloud.com> · 2026-04-27 23:03 UTC

docs(windows): update installation guide to reflect automatic mpv setup

- Windows install section: clarify that libmpv is downloaded
  automatically on first build and libmpv-2.dll is placed next to
  the binary; list prerequisites (MSVC build tools, internet access)
- mpv feature description: replace the outdated manual DLL instruction
  with accurate notes for both Linux and Windows

Layout: unified · split

docs/src/installation.md +12 −5
@@ -68,15 +68,20 @@ If installed correctly, a TUI should be launched. Press `q` to close the TUI.
6868
6969## Installation on Windows
7070
71Install using `cargo`:
71Install using `cargo` exactly as you would on Linux:
7272
7373```sh
7474cargo install youtube-tui
7575```
7676
77All default features work on Windows. The `sixel` feature uses a pure Rust encoder on Windows (no native dependencies). The `clipboard` feature uses native Windows clipboard APIs.
77All default features work on Windows. On the first build, the `mpv` feature will automatically download the required `libmpv` dev library (~30MB) and place `libmpv-2.dll` next to the installed binary — no manual steps needed.
7878
79If you do not have `mpv` installed, you can disable the `mpv` feature:
79Prerequisites:
80- [Rust / cargo](https://www.rust-lang.org/tools/install)
81- [MSVC build tools](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022) ("Desktop development with C++" workload) — required to compile Rust on Windows
82- Internet access on the first build (to download `libmpv`)
83
84To build without the embedded mpv audio player (skips the download):
8085
8186```sh
8287cargo install youtube-tui --no-default-features -F sixel -F halfblock -F clipboard -F rustypipe
@@ -121,9 +126,11 @@ On Linux, requires <a href="https://xcb.freedesktop.org/" target=_blank>`libxcb`
121126
122127### `mpv` (default)
123128
124Embedded audio player
129Embedded audio player.
130
131On Linux, requires <a href="https://mpv.io/" target=_blank>`libmpv`</a> to be installed (`libmpv-dev` on Debian/Ubuntu, `mpv` on Arch).
125132
126Requires <a href="https://mpv.io/" target=_blank>`mpv`</a> (libmpv) to be installed in your system. On Windows, `mpv.dll` must be available in your PATH or next to the executable.
133On Windows, the build system downloads `libmpv` automatically on first build and copies `libmpv-2.dll` next to the installed binary. No manual steps are required.
127134
128135### rustypipe (default)
129136