# 使用 Homebrew, apt, dnf, MacPorts, Nix 安装 ne

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

## 安装

```sh
sudo av install brew:ne
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ne
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ne
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install ne
```

  证据: Debian stable package indexes: ne from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ne
```

  证据: Fedora Rawhide package metadata: ne from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ne
```

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

## 软件包事实

- **软件包键:** brew:ne
- **软件包管理器:** Homebrew
- **版本:** 3.3.4
- **来源摘要:** Text editor based on the POSIX standard
- **主页:** <https://ne.di.unimi.it/>
- **仓库:** <https://github.com/vigna/ne>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ne (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ne, the nice editor, is Sebastiano Vigna's small POSIX terminal editor for users who want something easier than vi and lighter than emacs. The project emphasizes portability, low resource use, configurable menus and keybindings, syntax highlighting, UTF-8 support, regular expressions, autocomplete, and large-file support.

### 项目历史

The ne README says it was originally developed on the Amiga, inspired by Martin Taillefer's TurboText, and later moved to Linux. Todd Lewis joined development with features written for the University of North Carolina, and Daniele Filaretti helped with syntax highlighting.

Sebastiano Vigna's software page says ne had a measure of success among UN*X users who disliked vi or emacs, which matches the editor's niche: conventional shortcuts and menus, but still a terminal-native Unix program.

### 采用历史

ne is widely packaged for an editor of its size. The upstream README links Fedora, Debian, Ubuntu, OpenBSD, MacPorts, Homebrew, and Haiku ports. Debian describes it as easy for beginners and powerful enough for advanced users, with UTF-8, multi-column character support, syntax highlighting, and configurable menus and keybindings.

On July 1, 2026, GitHub showed 568 stars and 36 forks for vigna/ne. Homebrew Formulae listed stable 3.3.4 and 149 installs in its 365-day analytics window.

### 使用方式

Users install `ne` as a low-friction terminal editor for remote sessions, rescue environments, small systems, and people who do not want modal vi. The appeal is that common operations use familiar control-key shortcuts while advanced users can customize menus, keys, macros, syntax rules, and extension-specific preferences.

Its package metadata is especially helpful because it exposes real config locations such as `~/.ne/.keys`, `~/.ne/.menus`, `~/.ne/.extensions`, `~/.ne/.default#ap`, and `~/.ne/syntax/`.

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

ne is not a dominant editor, but it is a durable counterexample to the idea that terminal editing means either vi or emacs. For package indexes, it belongs in the small-editor lineage with Joe, nano, micro, and other tools that trade ecosystem gravity for immediate usability.

### 时间线

- {'date': '1993', 'event': 'Commonly reported first release year for ne; upstream describes its origin on Amiga before the move to Linux.'}
- {'date': '2015-04-17', 'event': 'vigna/ne repository creation date reported by the GitHub API.'}
- {'date': '2025-02-06', 'event': 'Version 3.3.4 date reported by package metadata sources.'}
- {'date': '2026-07-01', 'event': 'Homebrew Formulae listed stable 3.3.4 and 149 installs in the 365-day analytics window.'}

### Related projects

- TurboText
- Joe editor
- vi
- emacs
- nano
- micro

### 来源

- <https://api.github.com/repos/vigna/ne>
- <https://formulae.brew.sh/formula/ne>
- <https://github.com/vigna/ne>
- <https://packages.debian.org/sid/ne>
- <https://vigna.di.unimi.it/software.php>


## 安全说明

narrow executable package without higher-risk signals.

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


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

- Unix: ~/.ne/.keys, ~/.ne/.menus, ~/.ne/.extensions, ~/.ne/.default#ap, ~/.ne/syntax/
## 其他软件包管理器记录

- Debian apt - ne - 3.3.3-1: normalized package name match | Debian stable package indexes: ne from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | easy-to-use and powerful text editor | https://ne.di.unimi.it/
- Debian apt - ne-doc - 3.3.3-1: normalized package name match | Debian stable package indexes: ne-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation for the ne text editor | https://ne.di.unimi.it/
- Nix - ne: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/ne/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ne - 3.3.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ne from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | easy-to-use and powerful text editor | https://ne.di.unimi.it/
- Ubuntu apt - ne-doc - 3.3.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ne-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | documentation for the ne text editor | https://ne.di.unimi.it/
- dnf - ne - 3.3.4-4.fc45: normalized package name match | Fedora Rawhide package metadata: ne from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | ne, the nice editor | https://ne.di.unimi.it/
- dnf - ne-doc - 3.3.4-4.fc45: normalized package name match | Fedora Rawhide package metadata: ne-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for ne, the nice editor | https://ne.di.unimi.it/
- MacPorts - ne: normalized package name match | MacPorts ports tree: editors/ne/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/ne.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ne.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
