Skip to content

How to install eza on Windows and using on powershell? #1450

Discussion options

You must be logged in to vote

I haven't found much in the documentation. Here's what I put together, on Windows 10 with PowerShell (7.5.2) and Windows Terminal (already configured for using a NerdFont).

  1. Install with scoop install eza
  2. Create/edit the PowerShell profile script, found with echo $profile, which for me is ~\OneDrive\Documents\PowerShell\Microsoft.PowerShell_profile.ps1.
# I like the frost theme with my setup so I copied that file into ~\.config\eza\theme.yml
# This sets the environment variabel so eza loads that theme file.
$env:EZA_CONFIG_DIR = "$env:USERPROFILE\.config\eza"

## Configure `ls` to run `eza --long --icons=auto`

# First delete the existing built-in ls (which is aliased to Get-ChildItem).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Salvodif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants