42 个开发者工具,始终保持最新 — 上游每次发布后数小时内即可通过 apt 获取。 加入 Discord

📅 自 起,使用本 apt 镜像将需要订阅。 查看价格

📁 安装最新的 eza 在 Debian 上

Modern, feature-rich replacement for the ls command

最新版本:0.23.5 · 更新于 2026-07-09
来源版本
deb.griffo.io0.23.5 ✅
官方 Debian0.21.0 🛑
← 返回首页

什么是 eza?

eza is a modern, maintained replacement for the venerable file-listing command-line program ls that ships with Unix and Linux operating systems. Written in Rust, eza gives you more features and better defaults while being small, fast, and just one single binary.

🚀 Why Latest Versions Matter: eza is actively developed with frequent releases containing new features, performance improvements, and bug fixes. The latest versions include hyperlink support, custom themes, enhanced Git integration, and many usability improvements over the original exa project.

⚡ Key Features of eza

🎨 Rich Visual Output

Colors to distinguish file types, icons support, and customizable themes. Makes file browsing more intuitive and visually appealing.

🔗 Git Integration

Shows Git status for files and repositories, tracks ignored files, and displays repository information directly in listings.

📊 Extended Metadata

Displays symlinks, extended attributes, mount points, SELinux context, and human-readable relative dates.

🔧 Highly Configurable

Custom themes via theme.yml, extensive command-line options, and backwards compatibility with ls and exa.

🆚 eza vs ls vs exa

  • vs ls: Colors, icons, Git integration, tree view, better defaults
  • vs exa: Actively maintained, fixes "Grid Bug", hyperlinks, themes, security fixes
  • Performance: Fast Rust implementation, single binary, minimal dependencies
  • Compatibility: Drop-in replacement with familiar options
🚀 始终领先于官方软件源:Debian 和 Ubuntu 在发布时会冻结软件包版本——本仓库通常在上游发布后数小时内即发布新版本。只需 apt upgrade 即可始终保持最新版本。

📦 从 deb.griffo.io 安装

运行命令

步骤 1:添加仓库

sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
sudo apt update
install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
apt update

步骤 2:安装 eza

# Install latest eza
sudo apt install eza

# Verify installation
eza --version
# Install latest eza
apt install eza

# Verify installation
eza --version

🎯 基本使用示例

Replace ls with eza:

# Basic listing with colors and icons
eza

# Long format with details
eza -l

# Tree view
eza --tree

# Show Git status
eza -l --git

# Grid view with icons
eza --icons --grid

Advanced features:

# Show all files including hidden
eza -la

# Sort by size, largest first
eza -l --sort=size --reverse

# Show only directories
eza -D

# Recursive listing with depth limit
eza -R --level=2

# Custom time format
eza -l --time-style=iso

Create alias for permanent use:

# Add to ~/.bashrc or ~/.zshrc
echo 'alias ls="eza"' >> ~/.bashrc
echo 'alias ll="eza -l"' >> ~/.bashrc
echo 'alias la="eza -la"' >> ~/.bashrc

# Reload shell
source ~/.bashrc

🚀 为什么选择 deb.griffo.io?

📊 Repository Comparison:
  • Official Debian: Often months behind, missing latest features
  • deb.griffo.io: Latest version within hours of release
  • Manual Installation: Complex Rust compilation required
  • Our Repository: Pre-built, ready-to-use packages

📦 软件包构建仓库

Debian 软件包在此 GitHub 仓库中自动构建和维护:

🔗 相关软件包

也可从 deb.griffo.io 获取:

🎯 Perfect for: Daily command-line users, developers who want better file listings, anyone looking to modernize their terminal workflow with colors, icons, and Git integration.

📦 本仓库最近发布

❓ 常见问题

eza 在官方 Debian 软件源中吗?

在,但官方 Debian 源只提供 eza 0.21.0,而本仓库提供 eza 0.23.5,每次上游发布后数小时内重新构建。

如何在 Debian 上安装最新版 eza?

按上方说明一次性添加 deb.griffo.io 仓库,然后运行:sudo apt install eza。之后通过常规的 sudo apt upgrade 获取新版本。

软件包是否有签名?如何构建?

每个软件包都使用仓库的 GPG 密钥(EA0F721D231FDD3A0A17B9AC7808B4DD62C41256)签名,并基于上游发布在公开的 GitHub 仓库中构建,任何人都可以审查。

支持哪些 Debian 版本?

Debian 12 Bookworm、Debian 13 Trixie、Forky 和 Sid。