Skip to content

Commit

Permalink
docs: add ffmpeg to the installation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Nov 21, 2024
1 parent 149db3c commit 9c7d03d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Yazi can be **optionally** extended with other command line tools to enable addi

- [nerd-fonts](https://www.nerdfonts.com/) ([_recommended_](/docs/faq#dont-like-nerd-fonts))
- [`ffmpegthumbnailer`](https://github.com/dirkvdb/ffmpegthumbnailer) (for video thumbnails)
- [`ffmpeg`](https://www.ffmpeg.org/) (for video preview on the upcoming Yazi v0.4)
- [7-Zip](https://www.7-zip.org/) (for archive extraction and preview)
- [`jq`](https://jqlang.github.io/jq/) (for JSON preview)
- [`poppler`](https://poppler.freedesktop.org/) (for PDF preview)
Expand All @@ -36,20 +37,20 @@ Most packages on this page are maintained by the community, and they **_may not
## Arch Linux

```sh
sudo pacman -S yazi ffmpegthumbnailer p7zip jq poppler fd ripgrep fzf zoxide imagemagick
sudo pacman -S yazi ffmpegthumbnailer ffmpeg p7zip jq poppler fd ripgrep fzf zoxide imagemagick
```

If you want to use the latest Git version, you can install it from [AUR](https://aur.archlinux.org/packages/yazi-git/) or [Arch Linux CN](https://github.com/archlinuxcn/repo/):

```sh
paru -S yazi-git ffmpegthumbnailer p7zip jq poppler fd ripgrep fzf zoxide imagemagick
paru -S yazi-git ffmpegthumbnailer ffmpeg p7zip jq poppler fd ripgrep fzf zoxide imagemagick
```

You can also install the [official nightly release binary](https://github.com/sxyazi/yazi/releases/tag/nightly) from [AUR](https://aur.archlinux.org/packages/yazi-nightly-bin),
which is built from the latest code within the past 6 hours:

```sh
paru -S yazi-nightly-bin ffmpegthumbnailer p7zip jq poppler fd ripgrep fzf zoxide imagemagick
paru -S yazi-nightly-bin ffmpegthumbnailer ffmpeg p7zip jq poppler fd ripgrep fzf zoxide imagemagick
```

## Nix
Expand Down Expand Up @@ -219,7 +220,7 @@ First, make sure that Homebrew is fully up-to-date with `brew update`.
Then you can install Yazi (and the optional dependencies):

```sh
brew install yazi ffmpegthumbnailer sevenzip jq poppler fd ripgrep fzf zoxide imagemagick font-symbols-only-nerd-font
brew install yazi ffmpegthumbnailer ffmpeg sevenzip jq poppler fd ripgrep fzf zoxide imagemagick font-symbols-only-nerd-font
```

If you prefer to use the most recent code, use the `--HEAD` flag when installing Yazi.
Expand All @@ -231,13 +232,13 @@ brew install yazi --HEAD
## MacPorts

```bash
sudo port install yazi ffmpegthumbnailer 7zip jq poppler fd ripgrep fzf zoxide ImageMagick
sudo port install yazi ffmpegthumbnailer ffmpeg 7zip jq poppler fd ripgrep fzf zoxide ImageMagick
```

## NetBSD

```sh
pkgin install yazi ffmpegthumbnailer p7zip jq poppler fd ripgrep fzf zoxide ImageMagick
pkgin install yazi ffmpegthumbnailer ffmpeg7 p7zip jq poppler fd ripgrep fzf zoxide ImageMagick
```

## Windows
Expand All @@ -259,15 +260,15 @@ Most users already have Git installed, and Yazi is also hosted via Git, so this
```sh
scoop install yazi
# Install the optional dependencies (recommended):
scoop install 7zip jq poppler fd ripgrep fzf zoxide imagemagick
scoop install ffmpeg 7zip jq poppler fd ripgrep fzf zoxide imagemagick
```

### Install with WinGet

```sh
winget install sxyazi.yazi
# Install the optional dependencies (recommended):
winget install 7zip.7zip jqlang.jq sharkdp.fd BurntSushi.ripgrep.MSVC junegunn.fzf ajeetdsouza.zoxide ImageMagick.ImageMagick
winget install Gyan.FFmpeg 7zip.7zip jqlang.jq sharkdp.fd BurntSushi.ripgrep.MSVC junegunn.fzf ajeetdsouza.zoxide ImageMagick.ImageMagick
```

Poppler is not yet on WinGet, install with Scoop or manually download from [poppler-windows](https://github.com/oschwartz10612/poppler-windows).
Expand All @@ -281,7 +282,7 @@ sudo oma install yazi
## x-cmd

```sh
x env use yazi fzf 7za jq fd rg zoxide
x env use yazi ffmpeg fzf 7za jq fd rg zoxide
```

## Official binaries
Expand Down

0 comments on commit 9c7d03d

Please sign in to comment.