Install with brew

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

View file

@ -38,19 +38,27 @@ Or, you can replace `yazi` with `yazi-bin` package if you want pre-built binary
<summary>macOS</summary> <summary>macOS</summary>
Install the dependencies with Homebrew: Install Yazi and its dependencies with Homebrew:
```bash ```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 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: Or you can install Yazi via cargo:
```bash ```bash
cargo install --git https://github.com/sxyazi/yazi.git cargo install --git https://github.com/sxyazi/yazi.git
``` ```
If you prefer to use the most recent code, use `--HEAD` flag:
```bash
brew install yazi --HEAD
```
You may take longer to install due to bottles are not available.
</details> </details>
<details> <details>