docs: install with Homebrew (#80)

This commit is contained in:
苏灵素@夏日限定 2023-08-22 22:16:01 +08:00 committed by GitHub
parent e8f15ff436
commit 5b85b47a63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ https://github.com/sxyazi/yazi/assets/17523360/740a41f4-3d24-4287-952c-3aec51520
Before getting started, ensure that the following dependencies are installed on your system:
- nerd-fonts (_required_, for icons)
- nerd-fonts (_required_)
- ffmpegthumbnailer (_optional_, for video thumbnails)
- unar (_optional_, for archive preview)
- jq (_optional_, for JSON preview)
@ -38,14 +38,20 @@ Or, you can replace `yazi` with `yazi-bin` package if you want pre-built binary
<summary>macOS</summary>
Install the dependencies with Homebrew:
Install Yazi and its dependencies with Homebrew:
```bash
brew install ffmpegthumbnailer unar jq poppler fd ripgrep fzf zoxide
brew install yazi ffmpegthumbnailer unar jq poppler fd ripgrep fzf zoxide
brew tap homebrew/cask-fonts && brew install --cask font-symbols-only-nerd-font
```
And download the latest release [from here](https://github.com/sxyazi/yazi/releases). Or you can install Yazi via cargo:
If you prefer to use the most recent code, use `--HEAD` flag:
```bash
brew install yazi --HEAD
```
Or you can install Yazi via cargo:
```bash
cargo install --git https://github.com/sxyazi/yazi.git