https://yazi-rs.github.io/features/

Ubuntu 需要手动安装

Unix

Windows

Install

Use package manager to install dependencies Chocolatey

Note → Run as Administrator

Note → Run as Administrator

choco install ffmpeg 7zip jq poppler fd ripgrep fzf zoxide resvg imagemagick
choco install yazi

Configuration

https://yazi-rs.github.io/docs/configuration/overview

vim $PROFILE

function z {
    $tmp = [System.IO.Path]::GetTempFileName()
    yazi $args --cwd-file="$tmp"
    $cwd = Get-Content -Path $tmp -Encoding UTF8
    if (-not [String]::IsNullOrEmpty($cwd) -and $cwd -ne $PWD.Path) {
        Set-Location -LiteralPath ([System.IO.Path]::GetFullPath($cwd))
    }
    Remove-Item -Path $tmp
}