diff --git a/docs/installation.md b/docs/installation.md index 650d9d56..c35e7b85 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -171,12 +171,12 @@ Windows has been supported since Yazi v0.1.4, but it's still in the early stage, ### Requirements -Yazi relies on `file(1)` to detect the mime-type of the file, and the easiest and most reliable way to get it on Windows is to install Git for Windows and use the `file(1)` that comes with it. +Yazi relies on `file(1)` to detect the mime-type of the file, and the easiest and most reliable way to get it on Windows is to install Git for Windows and use the `file.exe` that comes with it. 1. Install Git for Windows by running [the official installer](https://git-scm.com/download/win), or through your package manager of choice. -2. To allow Yazi to find `file(1)`, add `\usr\bin\` to your `YAZI_FILE_ONE` environment variable, which differs depending on how you installed Git: - - If you installed Git with the installer, it would be `C:\Program Files\Git\usr\bin`. - - If you installed Git with Scoop, it would be `C:\Users\\scoop\apps\git\current\usr\bin`. +2. To allow Yazi to find it, add `\usr\bin\file.exe` to your `YAZI_FILE_ONE` environment variable, which differs depending on how you installed Git: + - If you installed Git with the installer, it would be `C:\Program Files\Git\usr\bin\file.exe`. + - If you installed Git with Scoop, it would be `C:\Users\\scoop\apps\git\current\usr\bin\file.exe`. 3. Restart your terminal. This is **the ONLY way we recommend**. We do not recommend install `file` via Scoop or Chocolatey, since they cannot handle Unicode filenames (such as `oliver-sjöström.jpg`) properly and lack some required parameters. @@ -191,8 +191,6 @@ scoop install yazi scoop install unar jq poppler fd ripgrep fzf zoxide ``` -Yazi on Scoop is maintained by community contributors, and may not always have the latest version available. You may need to check our [GitHub Releases](https://github.com/sxyazi/yazi/releases) page for the latest version. - ## AOSC OS ```sh