# 使用 Homebrew, MacPorts, Nix 安装 neovim-remote

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

## 安装

```sh
sudo av install brew:neovim-remote
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install neovim-remote
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install neovim-remote
```

  证据: MacPorts ports tree: sysutils/neovim-remote/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#neovim-remote
```

  证据: nixpkgs package indexes: pkgs/by-name/ne/neovim-remote/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:neovim-remote
- **软件包管理器:** Homebrew
- **版本:** 2.5.1
- **来源摘要:** Control nvim processes using nvr command-line tool
- **主页:** <https://github.com/mhinz/neovim-remote>
- **仓库:** <https://github.com/mhinz/neovim-remote>
- **最后更新:** 2026-07-15T12:00:17Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- nvr (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.5.1
## 项目历史与用法

neovim-remote provides the `nvr` command, a small Python client for controlling Neovim server processes from the shell. Its core value is restoring Vim-style remote workflows around Neovim's RPC/listen-address model.

### 项目历史

The `mhinz/neovim-remote` repository was created on 2015-12-04. Its README explains the context directly: Neovim always starts a server, exposes an address such as `v:servername`, and can be started with `nvim --listen /tmp/nvimsocket`; `nvr` then sends commands to that server.

The project released v1.4.0 in 2016 and v1.7.0 in 2017, then continued through tags such as v2.5.1. It fills a precise compatibility gap around `--remote` and friends, especially for users moving Vim workflows into Neovim.

### 采用历史

The repository had 1,894 stars and 83 forks when queried on 2026-07-01. Homebrew analytics showed 210 installs in 30 days, 359 in 90 days, and 1,130 in 365 days, which is healthy for a narrow workflow helper.

The package also exists on PyPI as `neovim-remote`, so Homebrew is one install route rather than the original distribution channel. The adoption audience is shell-heavy Neovim users, tmux users, plugin authors, and people who use Neovim as `$EDITOR` or Git editor.

### 使用方式

Typical commands include `nvr file`, `nvr --remote file1 file2`, `nvr --remote-send`, `nvr --remote-expr`, `nvr -cc split file`, and `git config --global core.editor 'nvr --remote-wait-silent'`.

The canonical use case is avoiding nested Neovim inside Neovim's `:terminal`: a Git commit launched from a terminal buffer can open a commit-message buffer in the existing Neovim session and block until that buffer is closed.

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

This is a classic tiny-package-with-real-leverage entry. It does not compete with Neovim; it packages a missing bit of client/server ergonomics around Neovim's API, similar in spirit to `emacsclient` workflows.

### 时间线

- {'date': '2015-12-04', 'event': 'The `mhinz/neovim-remote` repository was created.'}
- {'date': '2016-12-06', 'event': 'Release v1.4.0 was published.'}
- {'date': '2017-06-23', 'event': 'Release v1.7.0 was published with README/use-case updates.'}

### Related projects

- Neovim
- PyPI neovim-remote
- vimtex
- tmux workflows

### 来源

- <https://api.github.com/repos/mhinz/neovim-remote>
- <https://api.github.com/repos/mhinz/neovim-remote/releases?per_page=8>
- <https://formulae.brew.sh/api/formula/neovim-remote.json>
- <https://github.com/mhinz/neovim-remote>
- <https://github.com/mhinz/neovim-remote/blob/master/INSTALLATION.md>
- <https://pypi.org/project/neovim-remote/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - neovim-remote: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/neovim-remote/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - neovim-remote: normalized package name match | MacPorts ports tree: sysutils/neovim-remote/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
