# 使用 Homebrew, apk, Nix 安装 nemu

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

## 安装

```sh
sudo av install brew:nemu
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nemu
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add nemu
```

  证据: Alpine Linux edge package indexes: nemu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#nemu
```

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

## 软件包事实

- **软件包键:** brew:nemu
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/nemu>
- **版本:** 3.5.0
- **来源摘要:** Ncurses UI for QEMU
- **主页:** <https://github.com/nemuTUI/nemu>
- **仓库:** <https://github.com/nemuTUI/nemu>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://github.com/nemuTUI/nemu/archive/refs/tags/v3.5.0.tar.gz>
- **最后更新:** 2026-06-11T10:27:44Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- nemu (cli)
- ntty (cli)
- nemu (别名)
- ntty (别名)

## 依赖

- gettext
- json-c
- libarchive
- ncurses
- openssl@3

## 构建依赖

- cmake
- gettext
- pkgconf

## macOS 提供的库

- libxml2
- sqlite

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.5.0
- 管理器更新时间: 2026-06-11
- 本地数据: OK
- 上游仓库: https://github.com/nemuTUI/nemu
- 检测到的最新版本: v3.5.0 (当前)
## 项目历史与用法

nEMU is a small, focused terminal UI for managing QEMU virtual machines. Its upstream repository describes it as an ncurses UI for QEMU and lists everyday VM operations: install, delete, clone, rename, show status and CPU use, start, stop, connect through VNC or SPICE, handle snapshots, edit settings, import OVA files, and expose a remote-control API.

### 项目历史

The public GitHub repository was created on 2019-11-15. The visible release history shows continued maintenance through v3.5.0 on 2026-06-11, after v3.4.0 on 2025-10-22 added VM preview support for terminals with the Kitty graphics protocol and related UI/configuration work.

### 采用历史

nEMU is a niche virtualization tool rather than a broad platform. The README lists packages for Alpine, Debian/Ubuntu, Gentoo, FreeBSD, RPM-based systems, and Homebrew. The Homebrew formula API snapshot generated on 2026-07-01 reported 314 installs over 365 days and 52 installs over 30 days, which fits a specialized console-VM workflow.

### 使用方式

Package-oriented users install it when they want a local or SSH-friendly TUI around QEMU without running a desktop manager. In practice it sits between raw qemu-system command lines and heavier GUI tools: useful for repeat VM lifecycle operations, snapshots, TAP/macvtap networking, VirtFS sharing, and occasional VNC/SPICE access from a terminal-first setup.

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

Its package interest is mostly about making QEMU manageable in headless and Unix-console environments. The signal is not mass adoption; it is that the same small C/ncurses tool is packaged across multiple Unix-like ecosystems and keeps following QEMU feature growth.

### 时间线

- 2019-11-15: GitHub repository created.
- 2023-10-04: v3.3.0 release added MacOS snapshot support and remote API work.
- 2025-10-22: v3.4.0 release added VM preview support.
- 2026-06-11: v3.5.0 release shipped custom PID/socket locations and shortcut changes.

### Related projects

- QEMU
- SPICE
- spice-kitten
- nemu-droid

### 来源

- <https://api.github.com/repos/nemuTUI/nemu>
- <https://api.github.com/repos/nemuTUI/nemu/releases?per_page=5>
- <https://formulae.brew.sh/api/formula/nemu.json>
- <https://github.com/nemuTUI/nemu/blob/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** nemu
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Nix - nemu: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/nemu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - nemu - 3.5.0-r0: normalized package name match | Alpine Linux edge package indexes: nemu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ncurses UI for QEMU | https://github.com/nemuTUI/nemu
- apk - nemu-bash-completion - 3.5.0-r0: normalized package name match | Alpine Linux edge package indexes: nemu-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for nemu | https://github.com/nemuTUI/nemu
- apk - nemu-doc - 3.5.0-r0: normalized package name match | Alpine Linux edge package indexes: nemu-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ncurses UI for QEMU (documentation) | https://github.com/nemuTUI/nemu
- apk - nemu-lang - 3.5.0-r0: normalized package name match | Alpine Linux edge package indexes: nemu-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Languages for package nemu | https://github.com/nemuTUI/nemu
- apk - nemu-zsh-completion - 3.5.0-r0: normalized package name match | Alpine Linux edge package indexes: nemu-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for nemu | https://github.com/nemuTUI/nemu


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/zh-hans/brew/gettext/) - Runtime dependency declared by Homebrew.
- [ncurses](https://pkg.so/zh-hans/brew/ncurses/) - Runtime dependency declared by Homebrew.
- [libarchive](https://pkg.so/zh-hans/brew/libarchive/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [qemu](https://pkg.so/zh-hans/brew/qemu/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [libosinfo](https://pkg.so/zh-hans/brew/libosinfo/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [lume](https://pkg.so/zh-hans/brew/lume/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [osinfo-db-tools](https://pkg.so/zh-hans/brew/osinfo-db-tools/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [lima](https://pkg.so/zh-hans/brew/lima/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [podman-tui](https://pkg.so/zh-hans/brew/podman-tui/) - Shares pkgdb curated category or tags: cli, system, terminal-ui, tui.
- [rvvm](https://pkg.so/zh-hans/brew/rvvm/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [btop](https://pkg.so/zh-hans/brew/btop/) - Shares pkgdb curated category or tags: cli, system, terminal-ui.
- [btdu](https://pkg.so/zh-hans/brew/btdu/) - Local package facts share a topical domain. Shared terms: cli, ncurses, system, terminal, terminal-ui.
- [dwarfs](https://pkg.so/zh-hans/brew/dwarfs/) - Both packages work with overlapping file formats or content types. Shared terms: cli, json, libarchive, openssl, openssl-3.
- [mtm](https://pkg.so/zh-hans/brew/mtm/) - Local package facts share a topical domain. Shared terms: cli, ncurses, system, terminal, tui.

## Combined YAML source

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


## 来源

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