# Install midnight-commander with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Terminal-based visual file manager. Version 4.8.33 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:midnight-commander
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install midnight-commander
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mc
```

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

### Linux

- apk (92%):

```sh
sudo apk add mc
```

  Evidence: Alpine Linux edge package indexes: mc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install mc
```

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

- dnf (92%):

```sh
sudo dnf install mc
```

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

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

- pacman (92%):

```sh
sudo pacman -S mc
```

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

- zypper (92%):

```sh
sudo zypper install mc
```

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

### Windows

- Chocolatey (92%):

```sh
choco install mc
```

  Evidence: Chocolatey community package catalog: mc from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','lunacy'

- Scoop (92%):

```sh
scoop install extras/mc
```

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

- winget (92%):

```sh
winget install --id GNU.MidnightCommander -e
```

  Evidence: Windows Package Manager source index: GNU.MidnightCommander from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:midnight-commander
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/midnight-commander>
- **Version:** 4.8.33
- **Source summary:** Terminal-based visual file manager
- **Homepage:** <https://www.midnight-commander.org/>
- **Repository:** <https://github.com/MidnightCommander/mc>
- **Upstream docs:** <https://github.com/MidnightCommander/mc#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://ftp.osuosl.org/pub/midnightcommander/mc-4.8.33.tar.xz>
- **Last updated:** 2026-06-22T14:05:28-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mc (cli)
- mcdiff (cli)
- mcedit (cli)
- mcview (cli)
- mc (alias)
- mcdiff (alias)
- mcedit (alias)
- mcview (alias)

## Dependencies

- diffutils
- gettext
- glib
- libssh2
- openssl@3
- s-lang

## Build dependencies

- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.8.33
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://www.midnight-commander.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

GNU Midnight Commander is a terminal file manager in the orthodox, two-panel tradition. The project's maintainers page says it was founded around 1994 by Miguel de Icaza, and the project README describes it as a free clone of John Socha's Norton Commander that also borrowed ideas from newer tools with similar interfaces. The same maintainers page records Andrew Borodin and Yury V. Zaytsev as the project team and notes that Slava Zanko relaunched it as a collaborative project in 2009.

### Project history

Technically, Midnight Commander grew into more than a copy, move, and delete interface. Its README describes a text-mode full-screen user shell that runs on consoles, xterm, and other terminal emulators, and that remains usable over telnet or SSH. Major practical features include a built-in virtual file system for FTP, SFTP, SSH, and archive formats; mouse support in terminals; a built-in text editor and hex-capable viewer; command completion; subshell integration with common shells; background file operations; external panelization; and context-sensitive open, view, and edit actions.

### How it is used

Its adoption history is visible in its broad packaging footprint: the same mc executable is distributed across Linux distributions, BSD-oriented systems, macOS package managers, Windows package managers, and Nix-style environments. In practice it serves administrators and terminal-heavy users who want a visual file manager over remote sessions, inside minimal systems, or in workflows where a GUI file manager is unavailable. Among package-manager tools, it is the long-lived, feature-rich TUI file manager, sitting beside smaller navigators and newer terminal file managers rather than competing with graphical desktop file managers.

### Sources

- <https://formulae.brew.sh/formula/midnight-commander>
- <https://github.com/MidnightCommander/mc>
- <https://midnight-commander.org/maintainers/>


## 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: $XDG_CONFIG_HOME/mc/ini, $XDG_CONFIG_HOME/mc/hotlist, $XDG_CONFIG_HOME/mc/panels.ini, ~/.config/mc/ini, ~/.config/mc/hotlist, ~/.config/mc/panels.ini

## Credential files

- Unix: $XDG_CONFIG_HOME/mc/ini, $XDG_CONFIG_HOME/mc/hotlist, $XDG_CONFIG_HOME/mc/panels.ini, ~/.config/mc/ini, ~/.config/mc/hotlist, ~/.config/mc/panels.ini
## Source Database Details

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

## Other Package-Manager Records

- MacPorts - mc: installed executable or alias match | MacPorts ports tree: sysutils/mc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - mc - 3:4.8.33-1+deb13u1: installed executable or alias match | Debian stable package indexes: mc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Midnight Commander - a powerful file manager | https://www.midnight-commander.org
- Debian apt - mc-data - 3:4.8.33-1+deb13u1: installed executable or alias match | Debian stable package indexes: mc-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Midnight Commander - a powerful file manager -- data files | https://www.midnight-commander.org
- Nix - mc: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/mc/mc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mc - 3:4.8.30-1build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: mc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Midnight Commander - a powerful file manager | https://www.midnight-commander.org
- Ubuntu apt - mc-data - 3:4.8.30-1build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: mc-data from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Midnight Commander - a powerful file manager -- data files | https://www.midnight-commander.org
- apk - mc - 4.8.33-r3: installed executable or alias match | Alpine Linux edge package indexes: mc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Filemanager/shell that emulates Norton Commander | https://midnight-commander.org
- apk - mc-doc - 4.8.33-r3: installed executable or alias match | Alpine Linux edge package indexes: mc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Filemanager/shell that emulates Norton Commander (documentation) | https://midnight-commander.org
- apk - mc-lang - 4.8.33-r3: installed executable or alias match | Alpine Linux edge package indexes: mc-lang from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Languages for package mc | https://midnight-commander.org
- dnf - mc - 4.8.33-3.fc44: installed executable or alias match | Fedora Rawhide package metadata: mc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | User-friendly text console file manager and visual shell | https://midnight-commander.org/
- dnf - mc-python - 4.8.33-3.fc44: installed executable or alias match | Fedora Rawhide package metadata: mc-python from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Midnight Commander s3+ and UC1541 EXTFS backend scripts | https://midnight-commander.org/
- pacman - mc - 4.8.33-1: installed executable or alias match | Arch Linux sync databases: mc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A file manager that emulates Norton Commander | https://midnight-commander.org/
- zypper - mc - 4.8.33-2.4: installed executable or alias match | openSUSE Tumbleweed package metadata: mc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Midnight Commander | https://midnight-commander.org/
- zypper - mc-lang - 4.8.33-2.4: installed executable or alias match | openSUSE Tumbleweed package metadata: mc-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Translations for package mc | https://midnight-commander.org/
- Chocolatey - mc: installed executable or alias match | Chocolatey community package catalog: mc from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','lunacy'
- Scoop - extras/mc: installed executable or alias match | Scoop official bucket manifest trees: bucket/mc.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [diffutils](https://www.automicvault.com/pkg/brew/diffutils/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [s-lang](https://www.automicvault.com/pkg/brew/s-lang/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [lf](https://www.automicvault.com/pkg/brew/lf/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [projectable](https://www.automicvault.com/pkg/brew/projectable/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [superfile](https://www.automicvault.com/pkg/brew/superfile/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [xplr](https://www.automicvault.com/pkg/brew/xplr/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [yazi](https://www.automicvault.com/pkg/brew/yazi/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [ctpv](https://www.automicvault.com/pkg/brew/ctpv/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [far2l-tty](https://www.automicvault.com/pkg/brew/far2l-tty/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [fdclone](https://www.automicvault.com/pkg/brew/fdclone/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.

## Combined YAML source

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


## Sources

- 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
