Commit bb47b02597
Unsigned
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 | 69 | ## Installation on Windows |
| 70 | 70 | |
| 71 | Install using `cargo`: | |
| 71 | Install using `cargo` exactly as you would on Linux: | |
| 72 | 72 | |
| 73 | 73 | ```sh |
| 74 | 74 | cargo install youtube-tui |
| 75 | 75 | ``` |
| 76 | 76 | |
| 77 | All 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. | |
| 77 | All 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 | |
| 79 | If you do not have `mpv` installed, you can disable the `mpv` feature: | |
| 79 | Prerequisites: | |
| 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 | ||
| 84 | To build without the embedded mpv audio player (skips the download): | |
| 80 | 85 | |
| 81 | 86 | ```sh |
| 82 | 87 | cargo 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 | 127 | ### `mpv` (default) |
| 123 | 128 | |
| 124 | Embedded audio player | |
| 129 | Embedded audio player. | |
| 130 | ||
| 131 | On Linux, requires <a href="https://mpv.io/" target=_blank>`libmpv`</a> to be installed (`libmpv-dev` on Debian/Ubuntu, `mpv` on Arch). | |
| 125 | 132 | |
| 126 | Requires <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. | |
| 133 | On 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 | 135 | ### rustypipe (default) |
| 129 | 136 | |