# 安装 nu

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

## 安装

```sh
sudo av install brew:nu
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nu
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nu
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install nu
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#nufmt
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/nu
```

  证据: Scoop official bucket manifest trees: bucket/nu.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Nushell.Nushell -e
```

  证据: Windows Package Manager source index: Nushell.Nushell from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:nu
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/nu>
- **版本:** 2.3.0
- **来源摘要:** Object-oriented, Lisp-like programming language
- **主页:** <https://programming.nu/>
- **仓库:** <https://github.com/programming-nu/nu>
- **上游文档:** <https://programming.nu/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/programming-nu/nu/archive/refs/tags/v2.3.0.tar.gz>
- **更新:** 2026-02-14T17:02:37+01:00
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- nubake (cli)
- nudoc (cli)
- nufmt (cli)
- nuke (cli)
- nush (cli)
- nutemplate (cli)
- nutest (cli)
- nutmbundle (cli)
- nubake (别名)
- nudoc (别名)
- nufmt (别名)
- nuke (别名)
- nush (别名)
- nutemplate (别名)
- nutest (别名)
- nutmbundle (别名)

## 依赖

- libffi
- pcre

## macOS 提供的库

- libffi

## 安装行为

- post-install 钩子: 未定义
- Caveats: Nu.framework was installed to: $HOMEBREW_CELLAR/nu/2.3.0_4/Frameworks/Nu.framework You may want to symlink this Framework to a standard macOS location, such as: ln -s "$HOMEBREW_CELLAR/nu/2.3.0_4/Frameworks/Nu.framework" /Library/Frameworks
- Bottle: 可用 于 arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 2.3.0
- 管理器更新时间: 2026-02-14
- 本地数据: ok
- 上游仓库: https://github.com/programming-nu/nu
- 检测到的最新版本: v2.3.0 (current)

## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / medium
- generalized runtime or code generation signal

## 相关链接

- [libffi](https://www.automicvault.com/pkg/brew/libffi/) - Runtime dependency declared by Homebrew.
- [pcre](https://www.automicvault.com/pkg/brew/pcre/) - Runtime dependency declared by Homebrew.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
