# Install clifm with Homebrew, apk, dnf, MacPorts, Nix

Command-line Interface File Manager. Version 1.28 via Homebrew; verified 2026-05-28. Also installable with nix: nix profile install nixpkgs#clifm.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install clifm
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install clifm
```

  Evidence: 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
```

  Evidence: 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
```

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

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

## Package facts

- **Package key:** brew:clifm
- **Package manager:** Homebrew
- **Version:** 1.28
- **Source summary:** Command-line Interface File Manager
- **Homepage:** <https://github.com/leo-arch/clifm>
- **Repository:** <https://github.com/leo-arch/clifm>
- **Last updated:** 2026-05-28T04:27:54Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- clifm (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.28
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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
## Other Package-Manager Records

- 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-r1: 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-r1: 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-r1: 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-r1: 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-r1: 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-2.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## Combined YAML source

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


## Sources

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