# Installer lf avec Homebrew, apk, apt, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de lf pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:lf
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install lf
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lf
```

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

### Linux

- apk (92%):

```sh
sudo apk add lf
```

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

- Debian apt (92%):

```sh
sudo apt install lf
```

  Preuve: Debian stable package indexes: lf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#lf
```

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

- pacman (92%):

```sh
sudo pacman -S lf
```

  Preuve: Arch Linux sync databases: lf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install lf
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/lf
```

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

- winget (92%):

```sh
winget install --id LlamaFarm.CLI -e
```

  Preuve: Windows Package Manager source index: LlamaFarm.CLI from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:lf
- **Gestionnaire de paquets:** Homebrew
- **Version:** 42
- **Résumé source:** Terminal file manager
- **Page d'accueil:** <https://godoc.org/github.com/gokcehan/lf>
- **Dépôt:** <https://github.com/gokcehan/lf>
- **Dernière mise à jour:** 2026-07-31T09:33:27Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- lf (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 42
## Historique du projet et usages

`lf`, short for 'list files', is a terminal file manager written in Go and heavily inspired by ranger. It packages the familiar keyboard-driven file-manager workflow as a single static binary with shell-extensible commands.

### Historique du projet

The `gokcehan/lf` repository was created on August 13, 2016. Its README describes a cross-platform terminal file manager with ranger inspiration, fast startup, low memory footprint, asynchronous I/O, a server/client architecture, remote commands, shell-command extensibility, and configurable keybindings.

The official documentation can be read inside the program with `lf -doc`, via the `help` command, as a man page, or online in `doc.md`, which reinforces the package's culture as a terminal-first application rather than a GUI file browser.

### Historique d'adoption

lf became a staple option in the small but active terminal-file-manager ecosystem. The package metadata in this batch lists packages across Alpine, Homebrew, Debian, MacPorts, Nix, Arch, Scoop, Ubuntu, winget, and openSUSE, which matches its cross-platform design.

### Modes d'utilisation

Users launch `lf` in a directory, navigate with keyboard bindings, preview files, run shell commands, and use configuration files such as `lfrc`, `colors`, and `icons` to tailor behavior. Its design encourages composing with external previewers, openers, editors, and shell scripts.

### Pourquoi les passionnés de paquets s'y intéressent

Package nerds care about lf because it is a modern Go-era reinterpretation of ranger: fast single-binary distribution, portable packaging, and deliberate reliance on external Unix tools for parts of the workflow. It is also a good example of a TUI program whose package value is mostly ergonomics and glue, not a daemon or library.

### Chronologie

- 2016: The `gokcehan/lf` repository was created on August 13, 2016.
- 2016: The project was shared publicly as 'lf: A terminal file manager' in command-line communities.
- 2018: Release discussions around r5 show lf already had a user-feedback loop around terminal-file-manager behavior.
- 2026: The upstream repository remained active, with Homebrew packaging and documented cross-platform installation paths.

### Related projects

- lf is most directly related to ranger, its stated inspiration. It sits beside other terminal file managers such as nnn, vifm, yazi, mc, and broot, and it depends culturally on shell tools, preview commands, terminal emulators, and editor integrations.

### Sources

- <https://api.github.com/repos/gokcehan/lf>
- <https://formulae.brew.sh/formula/lf>
- <https://github.com/gokcehan/lf>
- <https://github.com/gokcehan/lf/blob/master/doc.md>
- <https://github.com/gokcehan/lf/releases>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- 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: /etc/lf/lfrc, ~/.config/lf/lfrc, /etc/lf/colors, ~/.config/lf/colors, /etc/lf/icons, ~/.config/lf/icons
- Windows: C:\ProgramData\lf\lfrc, C:\Users\<user>\AppData\Roaming\lf\lfrc, C:\ProgramData\lf\colors, C:\Users\<user>\AppData\Roaming\lf\colors, C:\ProgramData\lf\icons, C:\Users\<user>\AppData\Roaming\lf\icons
## Autres enregistrements de gestionnaires de paquets

- Debian apt - lf - 34+ds-2+b1: normalized package name match | Debian stable package indexes: lf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | terminal file manager written in Go | https://github.com/gokcehan/lf
- Nix - lf: normalized package name match | nixpkgs package indexes: pkgs/by-name/lf/lf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - lf - 31+ds-1: normalized package name match | Ubuntu 24.04 LTS package indexes: lf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | terminal file manager written in Go | https://github.com/gokcehan/lf
- apk - lf - 42-r0: normalized package name match | Alpine Linux edge package indexes: lf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal filemanager written in Go with vim-style keybindings | https://github.com/gokcehan/lf
- apk - lf-bash-completion - 42-r0: normalized package name match | Alpine Linux edge package indexes: lf-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for lf | https://github.com/gokcehan/lf
- apk - lf-doc - 42-r0: normalized package name match | Alpine Linux edge package indexes: lf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal filemanager written in Go with vim-style keybindings (documentation) | https://github.com/gokcehan/lf
- apk - lf-fish-completion - 42-r0: normalized package name match | Alpine Linux edge package indexes: lf-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for lf | https://github.com/gokcehan/lf
- apk - lf-zsh-completion - 42-r0: normalized package name match | Alpine Linux edge package indexes: lf-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for lf | https://github.com/gokcehan/lf
- pacman - lf - 42-1: normalized package name match | Arch Linux sync databases: lf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A terminal file manager inspired by ranger | https://github.com/gokcehan/lf
- zypper - lf - 34-1.8: normalized package name match | openSUSE Tumbleweed package metadata: lf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Terminal file manager (with sixel support) | https://github.com/gokcehan/lf
- zypper - lf-bash-completion - 34-1.8: normalized package name match | openSUSE Tumbleweed package metadata: lf-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for lf | https://github.com/gokcehan/lf
- zypper - lf-fish-completion - 34-1.8: normalized package name match | openSUSE Tumbleweed package metadata: lf-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for lf | https://github.com/gokcehan/lf
- zypper - lf-zsh-completion - 34-1.8: normalized package name match | openSUSE Tumbleweed package metadata: lf-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for lf | https://github.com/gokcehan/lf
- MacPorts - lf: normalized package name match | MacPorts ports tree: sysutils/lf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/lf: normalized package name match | Scoop official bucket manifest trees: bucket/lf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - LlamaFarm.CLI: normalized package name match | Windows Package Manager source index: LlamaFarm.CLI from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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