Skip to content

Commit

Permalink
docs: update installation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Nov 22, 2023
1 parent 3a3f952 commit a882969
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ paru -S yazi-git ffmpegthumbnailer unarchiver jq poppler fd ripgrep fzf zoxide
Install Yazi and its dependencies with Homebrew:

```bash
brew update
brew install yazi ffmpegthumbnailer unar jq poppler fd ripgrep fzf zoxide
brew tap homebrew/cask-fonts && brew install --cask font-symbols-only-nerd-font
```
Expand All @@ -44,12 +45,6 @@ If you prefer to use the most recent code, use `--HEAD` flag:
brew install yazi --HEAD
```

Or you can install Yazi via cargo:

```bash
cargo install --locked --git https://github.com/sxyazi/yazi.git
```

## Nix

The [Nix package of Yazi](https://search.nixos.org/packages?channel=unstable&show=yazi) is available. Nix users can install Yazi via:
Expand Down Expand Up @@ -86,13 +81,27 @@ See [Windows Installation Guide](https://github.com/sxyazi/yazi/wiki/Windows-Ins

## Cargo

Setup the latest stable Rust toolchain:

```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```

Now you can install `yazi-fm` from [crates.io](https://crates.io/crates/yazi-fm):

```bash
cargo install --locked yazi-fm
```

Or install the latest git version:

```bash
cargo install --locked --git https://github.com/sxyazi/yazi.git
```

## Build from source

Install the latest stable Rust toolchain:
Setup the latest stable Rust toolchain:

```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Expand Down

0 comments on commit a882969

Please sign in to comment.