Skip to content

Commit

Permalink
docs: simplify installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Jan 23, 2024
1 parent 95d8a91 commit 63fa93e
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,9 @@ Yazi relies on `file(1)` to detect the `mime-type` of the file, and the easiest

To check if you've done this properly, enter `file`, you should see output similar to the following:

```
C:\Users\USERNAME>file
Usage: file [-bcCdEhikLlNnprsSvzZ0] [--apple] [--extension] [--mime-encoding]
[--mime-type] [-e <testname>] [-F <separator>] [-f <namefile>]
[-m <magicfiles>] [-P <parameter=value>] [--exclude-quiet]
<file> ...
file -C [-m <magicfiles>]
file [--help]
```powershell
C:\Users\yazi> file -v
file-5.45
```

This is currently the only method we recommend. **We do NOT recommend `scoop install file`**, since Scoop's `file` cannot handle Unicode file names (such as `pexels-oliver-sjöström-1433052.jpg`) properly.
Expand Down

0 comments on commit 63fa93e

Please sign in to comment.