🆓 永久免费 — 由开源许可证保障

这里的每个工具都是开源软件;其许可证保障了使用与再分发的权利。本镜像正是这一承诺的实践:提供每个软件包发布至少 2 个月的最新版本,永久免费 — 无需账号,无需认证。
安全修复与补丁会立即发布。想在上游发布后数小时内获得每个版本?请使用主仓库 deb.griffo.io。🚀

💬 有问题或建议?加入我们的 Discord 社区 — 获取帮助的最佳去处。

📂 安装最新的 zoxide 在 Ubuntu 上

A 学习您习惯的更智能 cd 命令

⏳ 尚未加入免费镜像 — 可从主仓库 deb.griffo.io 获取
zoxide 尚未加入免费镜像。免费镜像目前提供 Ghostty、Zed 和 Oh My Posh,更多工具即将加入。请从主仓库 deb.griffo.io获取 zoxide — 每个版本在上游发布后数小时内可用。
来源版本
deb.griffo.io (main)0.10.0 ✅
官方 Ubuntu0.9.8 🛑
← 返回首页

什么是 zoxide?

zoxide is a smarter cd command written in Rust by Ajeet D'Souza, inspired by z and autojump. It remembers which directories you use most frequently, so you can "jump" to them in just a few keystrokes. With over 28k GitHub stars, it has revolutionized directory navigation for command-line users worldwide.

😤 Traditional cd Pain Points: Tired of typing long directory paths? Fed up with `cd ../../projects/my-app/src/components`? Frustrated with remembering exact directory names? zoxide learns your habits and lets you jump anywhere with just a few characters.
🚀 Why Latest Versions Matter: zoxide is actively developed with frequent releases containing performance improvements, new shell integrations, enhanced algorithms, and better compatibility. The latest versions include improved fuzzy matching, better shell support, and enhanced third-party integrations.

⚡ Key Features of zoxide

🧠 Smart Learning

Learns your directory usage patterns and ranks them by frequency and recency. The more you visit a directory, the easier it becomes to access.

🔍 Fuzzy Matching

Jump to directories with partial matches. Type just a few characters and zoxide will find the right directory based on your history.

🐚 Universal Shell Support

Works with bash, zsh, fish, PowerShell, Nushell, Elvish, Tcsh, and Xonsh. Consistent experience across all major shells.

🔌 Rich Integrations

Native integration with fzf for interactive selection, plus plugins for Vim, Emacs, file managers, and tmux session managers.

📊 Data Import

Import existing data from autojump, z, z.lua, fasd, and other directory jumpers. No need to start from scratch.

⚙️ Highly Configurable

Customizable scoring algorithm, exclude patterns, aging settings, and command prefixes. Adapts to your workflow preferences.

🏆 Productivity Benefits

  • Save Time: Jump to any directory in 2-3 keystrokes instead of typing full paths
  • Reduce Errors: No more typos in long directory paths
  • Learn Patterns: Automatically adapts to your most-used directories
  • Cross-Session: Remembers directories across terminal sessions
  • Interactive Mode: Use with fzf for visual directory selection
🚀 永久免费,安全修复立即发布:Debian 和 Ubuntu 在发布时会冻结软件包版本——本免费镜像提供发布至少 2 个月的最新版本,永久免费;安全修复立即发布。如需在上游发布后数小时内获取每个版本,请使用主仓库 deb.griffo.io。只需 apt upgrade 即可获取免费通道内的最新构建。

📦 从 deb-free.griffo.io 安装

步骤 1:添加仓库

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

步骤 2:安装 zoxide

# Install latest zoxide sudo apt install zoxide # Verify installation zoxide --version
# Install latest zoxide apt install zoxide # Verify installation zoxide --version

Step 3: Set Up Shell Integration

# For bash users echo 'eval "$(zoxide init bash)"' >> ~/.bashrc # For zsh users echo 'eval "$(zoxide init zsh)"' >> ~/.zshrc # For fish users echo 'zoxide init fish | source' >> ~/.config/fish/config.fish # Reload shell source ~/.bashrc # or ~/.zshrc

🎯 基本使用示例

Smart directory jumping:

# Jump to directory containing "projects" z projects # Jump to directory matching "my" and "app" z my app # Jump to subdirectory starting with "src" z src/ # Go back to previous directory z - # Interactive selection with fzf zi

Traditional cd still works:

# Regular cd functionality z ~/Documents z ../ z /usr/local/bin # Relative paths z ./src/components

Advanced features:

# Query directories without jumping zoxide query projects # Add directory manually zoxide add /path/to/directory # Remove directory from database zoxide remove /path/to/directory # Import from other tools zoxide import --from=autojump ~/.local/share/autojump/autojump.txt zoxide import --from=z ~/.z

Customization:

# Use different command prefix (j instead of z) eval "$(zoxide init bash --cmd j)" # Replace cd command entirely eval "$(zoxide init bash --cmd cd)" # Echo directory before jumping export _ZO_ECHO=1 # Exclude certain directories export _ZO_EXCLUDE_DIRS="$HOME:$HOME/private/*"

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

📊 Repository Comparison:
  • Official Ubuntu: Available but often outdated versions
  • Cargo Install: Requires Rust toolchain and compilation
  • Install Script: Manual updates and no package management
  • deb.griffo.io (main): Latest version with automatic updates

📦 软件包构建仓库

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

🔗 相关软件包

也可从 deb-free.griffo.io 获取:

🎯 Perfect for: Developers who navigate complex directory structures, power users who want efficient terminal workflows, anyone tired of typing long paths, and users who appreciate intelligent automation in their tools.

📦 deb.griffo.io(主仓库)最近发布

❓ 常见问题

zoxide 在官方 Ubuntu 软件源中吗?

在 — 官方 Ubuntu 源提供 zoxide 0.9.8。本免费镜像提供发布至少 2 个月的最新 zoxide 版本,永久免费;主仓库 deb.griffo.io 在上游发布后数小时内提供每个版本。

如何在 Ubuntu 上安装最新版 zoxide?

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

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

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

支持哪些 Ubuntu 版本?

Ubuntu 22.04 Jammy、24.04 Noble、25.10 Questing 和 26.04 Resolute。