mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
docs: update installation guide
This commit is contained in:
parent
ed53ea6efb
commit
ba13009321
1 changed files with 25 additions and 5 deletions
30
README.md
30
README.md
|
|
@ -19,15 +19,29 @@ Before getting started, ensure that the following dependencies are installed on
|
|||
- fzf (optional, for directory jumping)
|
||||
- zoxide (optional, for directory jumping)
|
||||
|
||||
```bash
|
||||
# Arch Linux
|
||||
pacman -S ttf-nerd-fonts-symbols jq unarchiver ffmpegthumbnailer fd ripgrep fzf zoxide
|
||||
### Arch Linux
|
||||
|
||||
# macOS
|
||||
Install with paru or your favorite AUR helper:
|
||||
|
||||
```bash
|
||||
paru -S yazi jq unarchiver ffmpegthumbnailer fd ripgrep fzf zoxide
|
||||
```
|
||||
|
||||
### macOS
|
||||
|
||||
```bash
|
||||
brew install jq unar ffmpegthumbnailer fd ripgrep fzf zoxide
|
||||
brew tap homebrew/cask-fonts && brew install --cask font-symbols-only-nerd-font
|
||||
```
|
||||
|
||||
### Cargo
|
||||
|
||||
```bash
|
||||
cargo install --git https://github.com/sxyazi/yazi.git
|
||||
```
|
||||
|
||||
### Build from source
|
||||
|
||||
Execute the following commands to clone the project and build Yazi:
|
||||
|
||||
```bash
|
||||
|
|
@ -36,12 +50,18 @@ cd yazi
|
|||
cargo build --release
|
||||
```
|
||||
|
||||
## Usage
|
||||
Then, you can run:
|
||||
|
||||
```bash
|
||||
./target/release/yazi
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
yazi
|
||||
```
|
||||
|
||||
If you want to use your own config, copy the [config folder](https://github.com/sxyazi/yazi/tree/main/config) to `~/.config/yazi`, and modify it as you like.
|
||||
|
||||
## TODO
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue