# 使用 Homebrew, apt, dnf, MacPorts 安装 cdargs

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

## 安装

```sh
sudo av install brew:cdargs
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cdargs
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cdargs
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install cdargs
```

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

- dnf (92%):

```sh
sudo dnf install cdargs
```

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

## 软件包事实

- **软件包键:** brew:cdargs
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cdargs>
- **版本:** 2.1
- **来源摘要:** Directory bookmarking system - Enhanced cd utilities
- **主页:** <https://github.com/cbxbiker61/cdargs>
- **仓库:** <https://github.com/cbxbiker61/cdargs>
- **上游文档:** <https://github.com/cbxbiker61/cdargs#readme>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/cbxbiker61/cdargs/archive/refs/tags/2.1.tar.gz>
- **最后更新:** 2026-06-19T12:30:03-07:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- cdargs (cli)
- cdargs (别名)

## 构建依赖

- meson
- ninja
- pkgconf

## macOS 提供的库

- ncurses

## 安装行为

- post-install 钩子: 未定义
- 注意事项: Support files for bash, tcsh, and emacs have been installed to: $HOMEBREW_CELLAR/cdargs/2.1/contrib
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.1
- 管理器更新时间: 2026-06-19
- 本地数据: OK
- 上游仓库: https://github.com/cbxbiker61/cdargs
- 检测到的最新版本: 2.1 (当前)
## 项目历史与用法

cdargs is a curses-style directory bookmarking tool for Unix shells. It keeps frequently used filesystem locations in a plain text bookmark list and is normally used through shell functions or aliases that call the external cdargs binary and then change the interactive shell's current directory.

### 项目历史

The upstream README identifies Stefan Kamphausen as the 2001-2003 copyright holder and describes cdargs as a complete C++ rewrite inspired by Michael Schili's CDBM script for the German iX magazine and follow-up scripts from the related discussion thread.

The bundled man page was dated March 2002 and documents the core behavior still associated with cdargs: a bookmarks file, list and browse modes, shell integration functions, and optional bash and tcsh helper files. The upstream ChangeLog shows maintenance through the 1.x series, including bash completion, tcsh aliases, Emacs integration, packaging fixes, and a 2006 1.35 release. A 2018 ChangeLog entry records version 2.0 as a C++11 modernization and Meson/Ninja build-system conversion.

### 采用历史

cdargs became a small but durable Unix package rather than a large ecosystem project. The Homebrew input records packages in Homebrew, Debian, Fedora, MacPorts, and Ubuntu, which is the kind of cross-distribution presence typical of old shell productivity utilities that solved one workflow well enough to persist.

### 使用方式

The tool is used to bookmark project directories, jump by short descriptions, browse the filesystem from a terminal UI, and emit the selected path to a result file such as ~/.cdargsresult so a shell function can perform the final cd operation. Its ~/.cdargs file is deliberately simple and editable with a normal text editor.

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

cdargs is interesting as a pre-fzf, pre-zoxide example of directory-jumping ergonomics. It shows an older packaging pattern where a small binary, a man page, and shell snippets provide an interactive workflow that shells themselves cannot implement directly because child processes cannot change the parent shell's working directory.

### 时间线

- 2001: Stefan Kamphausen copyright period begins in the upstream README.
- 2002: Man page dated March 2002 documents ~/.cdargs, shell functions, and interactive list/browse modes.
- 2003: Upstream README copyright period ends; ChangeLog shows active feature work around shell integration and bookmark handling.
- 2006: ChangeLog records version 1.35.
- 2010: Current GitHub repository was created.
- 2018: ChangeLog records version 2.0, a C++11 cleanup and Meson/Ninja build conversion.

### Related projects

- cdargs was inspired by the CDBM shell script mentioned in the upstream README. In package-manager culture it sits in the same practical family as autojump, fasd, z, and zoxide, although those related tools are not cdargs upstream dependencies.

### 来源

- <https://api.github.com/repos/cbxbiker61/cdargs>
- <https://github.com/cbxbiker61/cdargs>
- <https://github.com/cbxbiker61/cdargs#readme>
- <https://github.com/cbxbiker61/cdargs/blob/master/doc/cdargs.1>
- <https://formulae.brew.sh/api/formula/cdargs.json>
- <https://github.com/cbxbiker61/cdargs/blob/master/ChangeLog>
- <https://github.com/cbxbiker61/cdargs/blob/master/README>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.cdargs
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cdargs
- **Version Scheme:** 0
- **Revision:** 0
- **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 - cdargs - 1.35-12: normalized package name match | Debian stable package indexes: cdargs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | bookmarks and browsing for the cd command | http://www.skamphausen.de/cgi-bin/ska/CDargs
- Ubuntu apt - cdargs - 1.35-12build1: normalized package name match | Ubuntu 24.04 LTS package indexes: cdargs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | bookmarks and browsing for the cd command | http://www.skamphausen.de/cgi-bin/ska/CDargs
- dnf - cdargs - 1.35-48.fc44: normalized package name match | Fedora Rawhide package metadata: cdargs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The shell cd with bookmarks and browser | http://www.skamphausen.de/cgi-bin/ska/CDargs/
- dnf - cdargs-devel - 1.35-48.fc44: normalized package name match | Fedora Rawhide package metadata: cdargs-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for cdargs | http://www.skamphausen.de/cgi-bin/ska/CDargs/
- MacPorts - cdargs: normalized package name match | MacPorts ports tree: sysutils/cdargs/Portfile from https://api.github.com/repos/macports/macports-ports/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.
- [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.
- [Productivity CLI packages](https://www.automicvault.com/zh-hans/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [meson](https://www.automicvault.com/zh-hans/pkg/brew/meson/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/zh-hans/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [intelli-shell](https://www.automicvault.com/zh-hans/pkg/brew/intelli-shell/) - Shares av.db curated category or tags: cli, productivity, shell.
- [apparix](https://www.automicvault.com/zh-hans/pkg/brew/apparix/) - Shares av.db curated category or tags: bookmarks, cli, productivity.
- [autojump](https://www.automicvault.com/zh-hans/pkg/brew/autojump/) - Shares av.db curated category or tags: cli, productivity, shell.
- [bkmr](https://www.automicvault.com/zh-hans/pkg/brew/bkmr/) - Shares av.db curated category or tags: bookmarks, cli, productivity.
- [buku](https://www.automicvault.com/zh-hans/pkg/brew/buku/) - Shares av.db curated category or tags: bookmarks, cli, productivity.
- [doitlive](https://www.automicvault.com/zh-hans/pkg/brew/doitlive/) - Shares av.db curated category or tags: cli, productivity, shell.
- [doxx](https://www.automicvault.com/zh-hans/pkg/brew/doxx/) - Shares av.db curated category or tags: cli, productivity.
- [eureka](https://www.automicvault.com/zh-hans/pkg/brew/eureka/) - Shares av.db curated category or tags: cli, productivity.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
