# 使用 Homebrew, apk, dnf, MacPorts, Nix 安装 clifm

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

## 安装

```sh
sudo av install brew:clifm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install clifm
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install clifm
```

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

### Linux

- apk (92%):

```sh
sudo apk add clifm
```

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

- dnf (92%):

```sh
sudo dnf install clifm
```

  证据: Fedora Rawhide package metadata: clifm 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#clifm
```

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

## 软件包事实

- **软件包键:** brew:clifm
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/clifm>
- **版本:** 1.28
- **来源摘要:** Command-line Interface File Manager
- **主页:** <https://github.com/leo-arch/clifm>
- **仓库:** <https://github.com/leo-arch/clifm>
- **上游文档:** <https://github.com/leo-arch/clifm#readme>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/leo-arch/clifm/archive/refs/tags/v1.28.tar.gz>
- **最后更新:** 2026-05-28T04:27:54Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- clifm (cli)
- clifm (别名)

## 依赖

- gettext
- libmagic
- readline

## 构建依赖

- cmake
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

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

CliFM is a shell-like command-line file manager: no GUI, no TUI menus, and a workflow centered on typed commands. Its official README emphasizes file-management features such as bookmarks, search, selections, previews, bulk rename, archive handling, trash, plugins, workspaces, autosuggestions, and shell-style command expansion.

### 项目历史

The upstream GitHub repository was created in 2018. By the 1.x series, the project had grown from a command-line file browser into a feature-rich terminal file manager with profiles, plugins, keybindings, image previews, a directory jumper, remote filesystem operations, and many compatibility paths for old or constrained terminals.

### 采用历史

CliFM's README links package installation through Linux package channels and OpenSUSE Build Service, while the batch input lists apk, dnf, Homebrew, MacPorts, and Nix entries. That distribution spread is notable for a file manager whose design intentionally avoids the more common curses-style TUI pattern.

### 使用方式

Users start clifm in a directory and manage files through short commands, entry list numbers, shell commands, tab completion, plugins, filters, previews, and profile-specific configuration. The official README says ordinary shell commands work, while the built-in help, man page, and wiki expose the richer file-management command set.

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

CliFM is interesting to package nerds because it is a terminal file manager that rejects the usual ncurses file-pane model. It packages as a small C-oriented Unix tool, runs across many Unix-like systems, and exposes optional integration points instead of hard depending on a desktop environment.

### 时间线

- 2018: leo-arch/clifm GitHub repository created.
- 2025: The changelog shows active 1.24 through 1.26 feature releases, including terminal, image preview, keybinding, and filesystem improvements.
- 2026: The changelog lists 1.27 and 1.28 releases; the batch input lists apk, dnf, Homebrew, MacPorts, and Nix packaging.

### Related projects

- CliFM's own README compares specific components with tools such as ranger's rifle and scope.sh, pistol, autojump, z.lua, and zoxide. In the broader package ecosystem it sits near terminal file managers like ranger, nnn, lf, vifm, and yazi, but keeps a command-line rather than full-screen TUI identity.

### 来源

- <https://github.com/leo-arch/clifm#readme>
- <https://github.com/leo-arch/clifm/wiki>
- <https://github.com/leo-arch/clifm/blob/master/CHANGELOG>


## 安全说明

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: $CLIFMRC, $XDG_CONFIG_HOME/clifm/profiles/PROFILE/clifmrc, ~/.config/clifm/profiles/PROFILE/clifmrc
## 源数据库详情

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

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

- Nix - clifm: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/clifm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - clifm - 1.28-r0: normalized package name match | Alpine Linux edge package indexes: clifm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI file manager | https://github.com/leo-arch/clifm
- apk - clifm-bash-completion - 1.28-r0: normalized package name match | Alpine Linux edge package indexes: clifm-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for clifm | https://github.com/leo-arch/clifm
- apk - clifm-doc - 1.28-r0: normalized package name match | Alpine Linux edge package indexes: clifm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI file manager (documentation) | https://github.com/leo-arch/clifm
- apk - clifm-fish-completion - 1.28-r0: normalized package name match | Alpine Linux edge package indexes: clifm-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for clifm | https://github.com/leo-arch/clifm
- apk - clifm-zsh-completion - 1.28-r0: normalized package name match | Alpine Linux edge package indexes: clifm-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for clifm | https://github.com/leo-arch/clifm
- dnf - clifm - 1.28-1.fc45: normalized package name match | Fedora Rawhide package metadata: clifm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Shell-like, command line terminal file manager | https://github.com/leo-arch/clifm
- MacPorts - clifm: normalized package name match | MacPorts ports tree: sysutils/clifm/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.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [gettext](https://www.automicvault.com/zh-hans/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [bashish](https://www.automicvault.com/zh-hans/pkg/brew/bashish/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [hr](https://www.automicvault.com/zh-hans/pkg/brew/hr/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [murex](https://www.automicvault.com/zh-hans/pkg/brew/murex/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [nsh](https://www.automicvault.com/zh-hans/pkg/brew/nsh/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [nushell](https://www.automicvault.com/zh-hans/pkg/brew/nushell/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [ranger](https://www.automicvault.com/zh-hans/pkg/brew/ranger/) - Shares av.db curated category or tags: cli, file-manager, system, terminal.
- [rsync-time-backup](https://www.automicvault.com/zh-hans/pkg/brew/rsync-time-backup/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [thefuck](https://www.automicvault.com/zh-hans/pkg/brew/thefuck/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [dfc](https://www.automicvault.com/zh-hans/pkg/brew/dfc/) - Local package facts share a topical domain. Shared terms: cli, file, gettext, system, terminal.
- [hstr](https://www.automicvault.com/zh-hans/pkg/brew/hstr/) - Local package facts share a topical domain. Shared terms: cli, readline, shell, system.
- [facad](https://www.automicvault.com/zh-hans/pkg/brew/facad/) - Local package facts share a topical domain. Shared terms: cli, command-line, line, system, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/clifm.yml](https://github.com/automic-vault/db/blob/main/combined/clifm.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
