Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, MacPorts, apk, pacman, zypper, dnf 安装 macvim

查看 macvim 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install macvim

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install MacVim

MacPorts ports tree · editors/MacVim/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#macvim

nixpkgs package indexes · macvim · 来源: raw.githubusercontent.com

Alpine Linux apk已验证 · 92%
sudo apk add gvim

Alpine Linux edge package indexes · gvim · 来源: dl-cdn.alpinelinux.org

Arch Linux pacman已验证 · 92%
sudo pacman -S gvim

Arch Linux sync databases · gvim · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install gvim

openSUSE Tumbleweed package metadata · gvim · 来源: download.opensuse.org

Fedora dnf已验证 · 92%
sudo dnf install vim-X11

Fedora Rawhide package metadata · vim-X11 · 来源: dl.fedoraproject.org

概览

软件包摘要

GUI for vim, made for macOS

命令和别名

  • gview
  • gvim
  • gvimdiff
  • gvimex
  • gvimtutor
  • mview
  • mvim
  • mvimdiff
  • mvimex
  • vimex

历史

项目历史与用法

MacVim is the macOS GUI distribution of Vim. The project describes it as a macOS version of Vim with a graphical interface, tight platform integration, menus, dialogs, toolbars, scroll bars, full-screen modes, trackpad gestures, Touch Bar support, Command-key mappings, system services, and Mac-specific text rendering.

项目历史

MacVim is maintained as a downstream fork of Vim rather than a thin wrapper. The official README says it routinely merges upstream Vim, while the maintainer wiki explains that MacVim is an intrusive fork because Vim was not designed as an embeddable editor engine and because native macOS GUI behavior requires code, runtime, and documentation changes throughout the tree.

The project’s current documentation lives on macvim.org and in the GitHub wiki. The MacVim help site is generated from the MacVim source repository and presents the bundled Vim help files plus MacVim-specific help such as `gui_mac.txt`.

采用历史

MacVim has long been the package-manager answer for developers who want Vim as a native macOS app rather than only inside Terminal. The official README documents both `brew install macvim` and the Homebrew cask `macvim-app`, and the installing wiki distinguishes the official binary release from Homebrew-managed updates.

The GitHub repository shows a large public history, many releases, thousands of stars, hundreds of forks, and a wiki, which reflects MacVim’s role as a durable macOS developer tool rather than a one-off GUI port.

使用方式

After installation, MacVim can be launched from the Dock or from the terminal with `mvim`. Homebrew’s formula installs CLI entry points such as `mvim`, `gvim`, `gview`, and diff variants, letting users keep Vim workflows while opening files in a native GUI bundle.

Configuration follows Vim conventions. The official help lists Unix personal initialization files such as `$HOME/.vimrc`, `$HOME/.vim/vimrc`, and `$XDG_CONFIG_HOME/vim/vimrc`; MacVim-specific help recommends keeping GUI customizations in `~/.gvimrc` rather than editing the system `gvimrc` that is overwritten on update.

为什么软件包爱好者会关心

MacVim is significant because it sits at the intersection of Unix editor culture and native Mac application packaging. It gives package managers a concrete artifact that is both a terminal-oriented Vim build and a macOS app bundle, with the classic tension between fast upstream Vim updates and platform-specific GUI release quality.

For Homebrew users, `macvim` versus `vim` is a meaningful package distinction: the upstream Vim package generally tracks core Vim more directly, while MacVim bundles a GUI app and Mac-specific behavior. That distinction is explicitly called out in the official README.

时间线

  • Public repository: MacVim Git history includes snapshot tags and release tags in the official repository.
  • 2023: The official wiki home page records active maintenance by macvim-dev.
  • 2026: macvim.org documentation reports current generated help for MacVim r183.1 and Vim 9.2.699.
  • 2026: GitHub repository page lists MacVim r183 as the latest release on Apr 8, 2026.

Related projects

  • MacVim is directly related to upstream Vim, from which it routinely merges. It is also related to Homebrew's `vim` formula, GUI Vim variants, and Neovim in the broader editor ecosystem, but its official docs position it specifically as the native macOS GUI for Vim.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 4 个平台目标。
  • 安装时包含 4 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

macOS
~/.vimrc~/.vim/vimrc$XDG_CONFIG_HOME/vim/vimrc~/.gvimrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gviewcli全局可执行文件
gvimcli全局可执行文件
gvimdiffcli全局可执行文件
gvimexcli全局可执行文件
gvimtutorcli全局可执行文件
mviewcli全局可执行文件
mvimcli全局可执行文件
mvimdiffcli全局可执行文件
mvimexcli全局可执行文件
vimexcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本9.2.0321
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/macvim-dev/macvim

安装元数据

软件包元数据

软件包键brew:macvim
版本9.2.0321
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/macvim
主页https://macvim.org
仓库https://github.com/macvim-dev/macvim
上游文档https://github.com/macvim-dev/macvim#readme
许可证Vim
源码归档https://github.com/macvim-dev/macvim/archive/refs/tags/release-183.tar.gz
最后更新2026-06-22T14:05:25-07:00
Pulseupdated
依赖cscope, lua, python@3.14, ruby
构建依赖gettext, libsodium
Bottle可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemacvim
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • ex-vi
  • vim
  • vim-classic
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

macvim

nix profile install nixpkgs#macvim
  • normalized package name match
  • 匹配方式:Macvim
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: macvim from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
MacPorts95%

MacVim

sudo port install MacVim
  • normalized package name match
  • 匹配方式:Macvim
MacPorts ports tree · api.github.com · MacPorts ports tree: editors/MacVim/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
apk92%

gvim 9.2.0602-r0

Improved vi-style text editor (GTK3 GUI)

https://www.vim.org/

sudo apk add gvim
  • License: Vim
  • Architecture: x86_64
  • Source Package: vim
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Gvim
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gvim from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf92%

vim-X11 9.2.597-1.fc45

The VIM version of the vi editor for the X Window System - GVim

https://www.vim.org/

sudo dnf install vim-X11
  • License: Vim AND LGPL-2.1-or-later AND MIT AND GPL-1.0-only AND (GPL-2.0-only OR Vim) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: vim
  • 25 依赖
  • 8 提供
  • installed executable or alias match
  • 匹配方式:Gvim
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: vim-X11 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman92%

gvim 9.2.0600-1

Vi Improved, a highly configurable, improved version of the vi text editor (with advanced features, such as a GUI)

https://www.vim.org

sudo pacman -S gvim
  • License: custom:vim
  • Architecture: x86_64
  • 8 依赖
  • 3 提供
  • 5 可选依赖
  • installed executable or alias match
  • 匹配方式:Gvim
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gvim from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper92%

gvim 9.2.0398-1.3

A GUI for Vi

https://www.vim.org/

sudo zypper install gvim
  • License: Vim
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: vim
  • 25 依赖
  • 9 提供
  • installed executable or alias match
  • 匹配方式:Gvim
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gvim from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment