macOS
brew install mcflylocal Homebrew formula metadata
sudo port install mcflyMacPorts ports tree · sysutils/mcfly/Portfile · 来源: api.github.com
安装
brew install mcflylocal Homebrew formula metadata
sudo port install mcflyMacPorts ports tree · sysutils/mcfly/Portfile · 来源: api.github.com
sudo apk add mcflyAlpine Linux edge package indexes · mcfly · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#mcflynixpkgs package indexes · pkgs/by-name/mc/mcfly/package.nix · 来源: api.github.com
sudo pacman -S mcflyArch Linux sync databases · mcfly · 来源: geo.mirror.pkgbuild.com
sudo zypper install mcflyopenSUSE Tumbleweed package metadata · mcfly · 来源: download.opensuse.org
scoop install main/mcflyScoop official bucket manifest trees · bucket/mcfly.json · 来源: api.github.com
winget install --id AndrewCantino.McFly -eWindows Package Manager source index · AndrewCantino.McFly · 来源: cdn.winget.microsoft.com
概览
Fly through your shell history
历史
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
$XDG_DATA_DIR/mcfly/config.toml~/.local/share/mcfly/config.toml~/.mcfly/config.toml~/Library/Application Support/McFly/config.toml~/.mcfly/config.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mcfly | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/cantino/mcfly
安装元数据
| 软件包键 | brew:mcfly |
|---|---|
| 版本 | 0.9.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/mcfly |
| 主页 | https://github.com/cantino/mcfly |
| 仓库 | https://github.com/cantino/mcfly |
| 上游文档 | https://github.com/cantino/mcfly#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/cantino/mcfly/archive/refs/tags/v0.9.4.tar.gz |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mcfly |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
mcfly
nix profile install nixpkgs#mcflymcfly 0.9.4-r0
Fly through your shell history
https://github.com/cantino/mcfly
sudo apk add mcflymcfly-bash-completion 0.9.4-r0
Bash completions for mcfly
https://github.com/cantino/mcfly
sudo apk add mcfly-bash-completionmcfly-fish-completion 0.9.4-r0
Fish completions for mcfly
https://github.com/cantino/mcfly
sudo apk add mcfly-fish-completionmcfly-zsh-completion 0.9.4-r0
Zsh completions for mcfly
https://github.com/cantino/mcfly
sudo apk add mcfly-zsh-completionmcfly 0.9.4-2
Fly through your shell history
https://github.com/cantino/mcfly
sudo pacman -S mcflymcfly 0.9.4-1.3
Shell history helper
https://github.com/cantino/mcfly
sudo zypper install mcflymcfly
sudo port install mcflymain/mcfly
scoop install main/mcflyAndrewCantino.McFly
winget install --id AndrewCantino.McFly -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.