# 使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 zoxide

查看 zoxide 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:zoxide
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zoxide
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zoxide
```

  证据: MacPorts ports tree: sysutils/zoxide/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add zoxide
```

  证据: Alpine Linux edge package indexes: zoxide from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install zoxide
```

  证据: Debian stable package indexes: zoxide from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install zoxide
```

  证据: Fedora Rawhide package metadata: zoxide from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#zoxide
```

  证据: nixpkgs package indexes: pkgs/by-name/zo/zoxide/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S zoxide
```

  证据: Arch Linux sync databases: zoxide from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install zoxide
```

  证据: openSUSE Tumbleweed package metadata: zoxide from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install zoxide
```

  证据: Chocolatey community package catalog: zoxide from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','zerotier-one'

- Scoop (92%):

```sh
scoop install main/zoxide
```

  证据: Scoop official bucket manifest trees: bucket/zoxide.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id ajeetdsouza.zoxide -e
```

  证据: Windows Package Manager source index: ajeetdsouza.zoxide from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:zoxide
- **软件包管理器:** Homebrew
- **版本:** 0.10.0
- **来源摘要:** Shell extension to navigate your filesystem faster
- **主页:** <https://github.com/ajeetdsouza/zoxide>
- **仓库:** <https://github.com/ajeetdsouza/zoxide>
- **最后更新:** 2026-07-04T16:03:51Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- zoxide (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.10.0
## 项目历史与用法

zoxide is a Rust command-line directory jumper: a smarter `cd` inspired by `z` and `autojump` that remembers frequently used directories and lets users jump to them with short fuzzy queries.

### 项目历史

Ajeet D'Souza created the public zoxide repository in March 2020. The README positions it as a modern successor in the directory-jump family, explicitly inspired by `z` and `autojump`, but built as a cross-shell Rust binary rather than shell-only glue.

Over time zoxide evolved from a small navigation helper into a carefully integrated shell tool. The README documents setup for Bash, Zsh, Fish, PowerShell, Nushell, POSIX shells, Elvish, Xonsh, Tcsh, and others, while the changelog shows ongoing work on completions, shell hooks, Windows behavior, symlink handling, database safety, and shell-specific edge cases.

### 采用历史

By July 2026 GitHub metadata showed more than 37,000 stars, making zoxide one of the most visible modern Rust CLIs in the shell-productivity niche. The official README lists installation through Cargo, Homebrew, MacPorts, Nix, distro packages, Winget, Scoop, Chocolatey, Termux, BSD package systems, and an install script.

Its adoption path follows the practical workstation-tool pattern: users first install it through Cargo or a shell setup script, then standardize it through OS package managers so dotfiles and new machines can depend on the same `z` command.

### 使用方式

Common use is to initialize zoxide in the user's shell and replace or supplement `cd` with `z`. Examples include `z foo` to jump to the best-ranked matching directory, multi-term queries such as `z foo bar`, `z -` for the previous directory, and `zi` for interactive selection through fzf.

zoxide is not a file manager. It is a tiny behavioral database plus shell integration that makes repeated navigation cheap, especially for developers moving among many project trees.

### 为什么软件包爱好者会关心

Package nerds care about zoxide because it is the directory-jump idea packaged in a modern, portable form: one Rust executable plus shell init snippets. It also shows how small terminal utilities earn broad package-manager coverage when they improve an everyday shell primitive without replacing the shell.

### 时间线

- 2020-03-05: The public `ajeetdsouza/zoxide` repository is created.
- 2020s: zoxide becomes available across Cargo, Homebrew, Linux distributions, BSD packages, Windows package managers, and Termux as documented by the README.
- 2024-2026: The changelog records active compatibility work for Nushell, PowerShell, Fish, Zsh, POSIX shells, Tcsh, and Windows path behavior.
- 2026-01-31: zoxide 0.9.9 is published on GitHub.

### Related projects

- `z` and `autojump` are the direct inspirations named by the README.
- fzf is the common companion for interactive `zi` selection.
- fasd and shell framework integrations such as Oh My Zsh occupy the same shell-navigation neighborhood.

### 来源

- <https://api.github.com/repos/ajeetdsouza/zoxide>
- <https://github.com/ajeetdsouza/zoxide>
- <https://github.com/ajeetdsouza/zoxide/blob/main/CHANGELOG.md>
- input.json source_facts.package-manager


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 其他软件包管理器记录

- Debian apt - zoxide - 0.9.7-1+b1: normalized package name match | Debian stable package indexes: zoxide from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Smarter cd command for your terminal | https://github.com/ajeetdsouza/zoxide
- Nix - zoxide: normalized package name match | nixpkgs package indexes: pkgs/by-name/zo/zoxide/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - zoxide - 0.9.3-1: normalized package name match | Ubuntu 24.04 LTS package indexes: zoxide from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Smarter cd command for your terminal | https://github.com/ajeetdsouza/zoxide
- apk - zoxide - 0.9.9-r0: normalized package name match | Alpine Linux edge package indexes: zoxide from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Faster way to navigate your filesystem | https://github.com/ajeetdsouza/zoxide
- apk - zoxide-bash-completion - 0.9.9-r0: normalized package name match | Alpine Linux edge package indexes: zoxide-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for zoxide | https://github.com/ajeetdsouza/zoxide
- apk - zoxide-doc - 0.9.9-r0: normalized package name match | Alpine Linux edge package indexes: zoxide-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Faster way to navigate your filesystem (documentation) | https://github.com/ajeetdsouza/zoxide
- apk - zoxide-fish-completion - 0.9.9-r0: normalized package name match | Alpine Linux edge package indexes: zoxide-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for zoxide | https://github.com/ajeetdsouza/zoxide
- apk - zoxide-zsh-completion - 0.9.9-r0: normalized package name match | Alpine Linux edge package indexes: zoxide-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for zoxide | https://github.com/ajeetdsouza/zoxide
- dnf - zoxide - 0.9.8-3.fc45: normalized package name match | Fedora Rawhide package metadata: zoxide from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Smarter cd command for your terminal | https://crates.io/crates/zoxide
- pacman - zoxide - 0.10.0-1: normalized package name match | Arch Linux sync databases: zoxide from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A smarter cd command for your terminal | https://github.com/ajeetdsouza/zoxide
- zypper - zoxide - 0.10.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: zoxide from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A smarter cd command | https://github.com/ajeetdsouza/zoxide
- MacPorts - zoxide: normalized package name match | MacPorts ports tree: sysutils/zoxide/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - zoxide: normalized package name match | Chocolatey community package catalog: zoxide from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','zerotier-one'
- Scoop - main/zoxide: normalized package name match | Scoop official bucket manifest trees: bucket/zoxide.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - ajeetdsouza.zoxide: normalized package name match | Windows Package Manager source index: ajeetdsouza.zoxide from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/zoxide.yml](https://github.com/mxcl/pkgdb/blob/main/combined/zoxide.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
