mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
docs: install with Homebrew (#80)
This commit is contained in:
parent
e8f15ff436
commit
5b85b47a63
1 changed files with 10 additions and 4 deletions
14
README.md
14
README.md
|
|
@ -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:
|
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)
|
- ffmpegthumbnailer (_optional_, for video thumbnails)
|
||||||
- unar (_optional_, for archive preview)
|
- unar (_optional_, for archive preview)
|
||||||
- jq (_optional_, for JSON 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>
|
<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:
|
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
|
```bash
|
||||||
cargo install --git https://github.com/sxyazi/yazi.git
|
cargo install --git https://github.com/sxyazi/yazi.git
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue