# 使用 Homebrew, apt, dnf, MacPorts, Nix, scoop, zypper 安装 autojump

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

## 安装

```sh
sudo av install brew:autojump
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install autojump
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install autojump
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install autojump
```

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

- dnf (92%):

```sh
sudo dnf install autojump
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#autojump
```

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

- zypper (92%):

```sh
sudo zypper install autojump
```

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

### Windows

- Scoop (92%):

```sh
scoop install extras/autojump
```

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

## 软件包事实

- **软件包键:** brew:autojump
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/autojump>
- **版本:** 22.5.3
- **来源摘要:** Shell extension to jump to frequently used directories
- **主页:** <https://github.com/wting/autojump>
- **仓库:** <https://github.com/wting/autojump>
- **上游文档:** <https://github.com/wting/autojump#readme>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/wting/autojump/archive/refs/tags/release-v22.5.3.tar.gz>
- **最后更新:** 2026-06-22T14:02:47-07:00
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- autojump (cli)
- autojump (别名)

## 依赖

- python@3.14

## 安装行为

- post-install 钩子: 未定义
- 注意事项: Add the following line to your ~/.bash_profile or ~/.zshrc file: [ -f $HOMEBREW_PREFIX/etc/profile.d/autojump.sh ] && . $HOMEBREW_PREFIX/etc/profile.d/autojump.sh If you use the Fish shell then add the following line to your ~/.config/fish/config.fish: [ -f $HOMEBREW_PREFIX/share/autojump/autojump.fish ]; and source $HOMEBREW_PREFIX/share/autojump/autojump.fish Restart your terminal for the settings to take effect.
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 22.5.3
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/wting/autojump
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

autojump is a shell navigation helper that learns frequently visited directories and lets users jump to them with short fuzzy-ish commands. It belongs to the same productivity niche as z, fasd, and later smart-cd tools: small shell glue that changes daily terminal muscle memory.

### 项目历史

The official README says autojump was originally written by Joel Schaerer and is maintained by William Ting. The GitHub repository was created in January 2009 and describes the tool as a cd command that learns from command-line directory usage.

The design is intentionally simple: the tool maintains a database of directories the user has visited, then ranks matches when the user invokes the j wrapper or autojump command.

### 采用历史

The README documents first-class support for bash and zsh, first-class support for Linux and OS X, and community support for fish, tcsh, clink, Windows, and BSD. It also states that autojump is included in Debian-derived distributions, RedHat/Fedora/CentOS, ArchLinux, Gentoo, Frugalware, and Slackware, while Homebrew is the recommended OS X installation method.

The GitHub repository has accumulated substantial attention for a shell utility, with thousands of stars and hundreds of forks in the official GitHub metadata. The batch input also lists packaging across Homebrew, Debian/Ubuntu, Fedora, MacPorts, Nix, Scoop, and openSUSE.

### 使用方式

Users visit directories normally first; autojump records that history. The common wrapper j foo jumps to the highest-ranked directory containing foo, while jc, jo, and jco prefer child directories or open file managers instead of changing directories.

The README warns that shell integration matters: for bash, autojump tracks directories by modifying PROMPT_COMMAND, so users should append to that variable rather than overwrite it.

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

autojump is package-nerd catnip because it is a small utility whose value comes from shell integration and distribution packaging rather than a large application surface. Its install story shows why package maintainers care about shell completions, profile snippets, platform policies, and per-shell activation instructions.

### 时间线

- 2009: GitHub repository created for wting/autojump.
- 2010s: autojump becomes packaged by major Linux distributions and macOS package managers.
- 2016: README copyright notice lists the Free Software Foundation and GPLv3-or-later licensing text.

### Related projects

- z, fasd, zoxide, and shell-specific directory jumpers solve the same learned-navigation problem.
- clink is referenced by the README for Windows shell support.

### 来源

- <https://api.github.com/repos/wting/autojump>
- <https://github.com/wting/autojump#readme>
- source_facts.package-manager


## 安全说明

generalized runtime or code generation signal.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** autojump
- **Version Scheme:** 0
- **Revision:** 3
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - autojump - 22.5.1-1.1: normalized package name match | Debian stable package indexes: autojump from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shell extension to jump to frequently used directories | https://github.com/wting/autojump
- Nix - autojump: normalized package name match | nixpkgs package indexes: pkgs/by-name/au/autojump/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - autojump - 22.5.1-1.1: normalized package name match | Ubuntu 24.04 LTS package indexes: autojump from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | shell extension to jump to frequently used directories | https://github.com/wting/autojump
- dnf - autojump - 22.5.3-27.fc45: normalized package name match | Fedora Rawhide package metadata: autojump from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A fast way to navigate your filesystem from the command line | https://github.com/wting/autojump
- dnf - autojump-fish - 22.5.3-27.fc45: normalized package name match | Fedora Rawhide package metadata: autojump-fish from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Autojump for fish shell | https://github.com/wting/autojump
- dnf - autojump-zsh - 22.5.3-27.fc45: normalized package name match | Fedora Rawhide package metadata: autojump-zsh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Autojump for zsh | https://github.com/wting/autojump
- zypper - autojump - 22.5.3-3.5: normalized package name match | openSUSE Tumbleweed package metadata: autojump from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A faster way to navigate the filesystem from a shell | https://github.com/wting/autojump
- MacPorts - autojump: normalized package name match | MacPorts ports tree: sysutils/autojump/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/autojump: normalized package name match | Scoop official bucket manifest trees: bucket/autojump.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [apparix](https://www.automicvault.com/zh-hans/pkg/brew/apparix/) - Shares av.db curated category or tags: cli, navigation, productivity.
- [cdargs](https://www.automicvault.com/zh-hans/pkg/brew/cdargs/) - Shares av.db curated category or tags: cli, productivity, shell.
- [doitlive](https://www.automicvault.com/zh-hans/pkg/brew/doitlive/) - Shares av.db curated category or tags: cli, productivity, shell.
- [intelli-shell](https://www.automicvault.com/zh-hans/pkg/brew/intelli-shell/) - Shares av.db curated category or tags: cli, productivity, shell.
- [pet](https://www.automicvault.com/zh-hans/pkg/brew/pet/) - Shares av.db curated category or tags: cli, productivity, shell.
- [tasksh](https://www.automicvault.com/zh-hans/pkg/brew/tasksh/) - Shares av.db curated category or tags: cli, productivity, shell.
- [todo-txt](https://www.automicvault.com/zh-hans/pkg/brew/todo-txt/) - Shares av.db curated category or tags: cli, productivity, shell.
- [a2ps](https://www.automicvault.com/zh-hans/pkg/brew/a2ps/) - Shares av.db curated category or tags: cli, productivity.
- [acronym](https://www.automicvault.com/zh-hans/pkg/brew/acronym/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, productivity, python, python-3-14.
- [alot](https://www.automicvault.com/zh-hans/pkg/brew/alot/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, productivity, python, python-3-14.
- [bagels](https://www.automicvault.com/zh-hans/pkg/brew/bagels/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, productivity, python, python-3-14.

## Combined YAML source

View the package source record on GitHub. [combined/autojump.yml](https://github.com/automic-vault/db/blob/main/combined/autojump.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
