How to install eza on Windows and using on powershell? #1450
Answered
by
neandrake
Salvodif
asked this question in
Q&A, Howto, Help
-
Is there a guide on how to install eza and configure it in the best way on windows? On Fedora I haven't had any complications but getting it working on Windows and also changing the theme I am having quite a few problems
|
Beta Was this translation helpful? Give feedback.
Answered by
neandrake
Jul 20, 2025
Replies: 1 comment
-
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).
# 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).
del alias:ls
# PowerShell does not allow creating aliases to commands with parameters, instead define a function.
# https://learn.microsoft.com/en-us/powershell/scripting/learn/shell/using-aliases?view=powershell-7.5#creating-alternate-names-for-commands-with-parameters
function ls {
eza --long --icons=auto
}
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Salvodif
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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).
scoop install eza
echo $profile
, which for me is~\OneDrive\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
.