# mcfly を Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

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

## インストール

```sh
sudo av install brew:mcfly
```

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

### macOS

- Homebrew (100%):

```sh
brew install mcfly
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mcfly
```

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

### Linux

- apk (92%):

```sh
sudo apk add mcfly
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#mcfly
```

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

- pacman (92%):

```sh
sudo pacman -S mcfly
```

  証拠: Arch Linux sync databases: mcfly from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install mcfly
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/mcfly
```

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

- winget (92%):

```sh
winget install --id AndrewCantino.McFly -e
```

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

## パッケージ情報

- **パッケージキー:** brew:mcfly
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.9.4
- **ソース概要:** Fly through your shell history
- **ホームページ:** <https://github.com/cantino/mcfly>
- **リポジトリ:** <https://github.com/cantino/mcfly>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- mcfly (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

McFly is a shell-history replacement for reverse search, designed to make Ctrl-R results context-aware instead of purely chronological. The project describes itself as an upgraded Ctrl-R that considers the current directory, command exit status, timestamps, and prior shell history.

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

The official GitHub repository was created in July 2018, and the first listed GitHub release, v0.1.0, was published on 2018-10-12. It is written in Rust and integrates with Bash, Zsh, Fish, and PowerShell rather than replacing the shell itself.

McFly's README emphasizes reversibility: it augments shell history in a SQLite database while maintaining the normal shell history file, so users can stop using McFly without losing the conventional history path. That design choice helped it fit into conservative shell setups.

### 採用の歴史

The supplied package-manager facts list McFly across Homebrew, MacPorts, Alpine, Arch, Nix, Scoop, WinGet, and openSUSE/Zypper, showing broad packaging across Unix-like and Windows-adjacent ecosystems.

The README documents Homebrew, MacPorts, WinGet, install-script, manual release, source, and Zinit installation paths. It also includes release-process notes for Homebrew, reflecting long-running package-manager maintenance rather than a one-off binary upload.

### 使われ方

Typical use is rebinding Ctrl-R in a shell startup file so McFly opens a full-screen history search UI. The tool stores enhanced history metadata in an OS-specific SQLite database and can dump history to stdout for scripting or inspection.

McFly's settings are mostly environment-variable based, with color settings stored in a config.toml under the McFly data directory. The README documents the macOS application-support path, Linux XDG data path, and a legacy ~/.mcfly fallback.

### パッケージ好きにとっての重要性

McFly is package-nerd interesting because it modernized an old shell muscle-memory path without requiring a new shell or large framework. It is a Rust CLI with many package-manager entries, a small executable surface, and visible cross-shell integration details.

Its use of SQLite for enriched history also makes it part of the broader trend of CLIs turning plain-text shell workflows into indexed local databases while preserving escape hatches back to ordinary files.

### タイムライン

- 2018-07: GitHub repository created.
- 2018-10: v0.1.0 published on GitHub releases.
- 2023-2025: Continued 0.8 and 0.9 release series.
- 2025-12: v0.9.4 published on GitHub releases.

### Related projects

- Related shell-history tools include fzf-based Ctrl-R bindings, atuin, hstr, and shell-native history search. McFly's official positioning is specifically an intelligent replacement for Ctrl-R rather than a full shell environment.

### ソース

- <https://github.com/cantino/mcfly>
- <https://github.com/cantino/mcfly#readme>
- <https://github.com/cantino/mcfly/releases>
- source_facts.package-manager


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal


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

- Linux: $XDG_DATA_DIR/mcfly/config.toml, ~/.local/share/mcfly/config.toml, ~/.mcfly/config.toml
- macOS: ~/Library/Application Support/McFly/config.toml, ~/.mcfly/config.toml
## 他のパッケージマネージャ記録

- Nix - mcfly: normalized package name match | nixpkgs package indexes: pkgs/by-name/mc/mcfly/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - mcfly - 0.9.4-r0: normalized package name match | Alpine Linux edge package indexes: mcfly from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fly through your shell history | https://github.com/cantino/mcfly
- apk - mcfly-bash-completion - 0.9.4-r0: normalized package name match | Alpine Linux edge package indexes: mcfly-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for mcfly | https://github.com/cantino/mcfly
- apk - mcfly-fish-completion - 0.9.4-r0: normalized package name match | Alpine Linux edge package indexes: mcfly-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for mcfly | https://github.com/cantino/mcfly
- apk - mcfly-zsh-completion - 0.9.4-r0: normalized package name match | Alpine Linux edge package indexes: mcfly-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for mcfly | https://github.com/cantino/mcfly
- pacman - mcfly - 0.9.4-2: normalized package name match | Arch Linux sync databases: mcfly from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fly through your shell history | https://github.com/cantino/mcfly
- zypper - mcfly - 0.9.4-1.5: normalized package name match | openSUSE Tumbleweed package metadata: mcfly from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Shell history helper | https://github.com/cantino/mcfly
- MacPorts - mcfly: normalized package name match | MacPorts ports tree: sysutils/mcfly/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/mcfly: normalized package name match | Scoop official bucket manifest trees: bucket/mcfly.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - AndrewCantino.McFly: normalized package name match | Windows Package Manager source index: AndrewCantino.McFly from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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