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.
68 68
69## Installation on Windows 69## Installation on Windows
70 70
71Install using `cargo`: 71Install using `cargo` exactly as you would on Linux:
72 72
73```sh 73```sh
74cargo install youtube-tui 74cargo install youtube-tui
75``` 75```
76 76
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.
78 78
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):
80 85
81```sh 86```sh
82cargo install youtube-tui --no-default-features -F sixel -F halfblock -F clipboard -F rustypipe 87cargo 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`
121 126
122### `mpv` (default) 127### `mpv` (default)
123 128
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).
125 132
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.
127 134
128### rustypipe (default) 135### rustypipe (default)
129 136