# midnight-commander を Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

midnight-commander のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mc
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

  証拠: 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
```

  証拠: 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
```

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

### Windows

- Chocolatey (92%):

```sh
choco install mc
```

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

- Scoop (92%):

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

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:midnight-commander
- **パッケージマネージャ:** Homebrew
- **バージョン:** 4.8.33
- **ソース概要:** Terminal-based visual file manager
- **ホームページ:** <https://www.midnight-commander.org/>
- **リポジトリ:** <https://github.com/MidnightCommander/mc>
- **最終更新:** 2026-06-22T14:05:28-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- mc (エイリアス)
- mcdiff (エイリアス)
- mcedit (エイリアス)
- mcview (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 4.8.33
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 使われ方

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.

### ソース

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


## セキュリティノート

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: $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
## 他のパッケージマネージャ記録

- 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-4.fc45: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | User-friendly text console file manager and visual shell | https://midnight-commander.org/
- dnf - mc-python - 4.8.33-4.fc45: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.6: installed executable or alias match | openSUSE Tumbleweed package metadata: mc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Midnight Commander | https://midnight-commander.org/
- zypper - mc-lang - 4.8.33-2.6: installed executable or alias match | openSUSE Tumbleweed package metadata: mc-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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','maxima'
- 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


## Combined YAML source

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


## ソース

- 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
