Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, dnf, scoop, winget, Nix 安装 nu

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nu

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install nu

MacPorts ports tree · devel/nu/Portfile · 来源: api.github.com

Linux

Fedora dnf已验证 · 92%
sudo dnf install nushell

Fedora Rawhide package metadata · nushell · 来源: dl.fedoraproject.org

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

nixpkgs package indexes · pkgs/by-name/nu/nufmt/package.nix · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/nu

Scoop official bucket manifest trees · bucket/nu.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Nushell.Nushell -e

Windows Package Manager source index · Nushell.Nushell · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Object-oriented, Lisp-like programming language

命令和别名

  • nubake
  • nudoc
  • nufmt
  • nuke
  • nush
  • nutemplate
  • nutest
  • nutmbundle

历史

项目历史与用法

brew:nu is Nu, the Objective-C/Lisp language from programming-nu, not Nushell. It is an interpreted Lisp designed around the Objective-C runtime and Foundation framework.

项目历史

The GitHub repository was created on 2008-03-05. The README says Tim Burks created Nu because he wanted Lisp-like flexibility while still working closely with C libraries and high-performance C subsystems; Objective-C supplied the runtime structure that made that integration tractable.

Nu describes its design as 'C over lambda': Lisp syntax and scripting-language flexibility, but with tight Objective-C and Foundation integration instead of the heavier glue code common around Python, Ruby, or Lua C extensions.

采用历史

Nu's strongest adoption window was the Mac OS X and Objective-C era before Swift became the default Apple-platform language. Its package history is therefore more niche and historical than active-mainstream: Homebrew, MacPorts, and source builds preserved it for people interested in Objective-C runtime scripting, old examples, and build tools such as `nush` and `nuke`.

The upstream README still documents Macintosh and Ubuntu builds, with older notes for Debian, OpenSolaris, and FreeBSD marked obsolete.

使用方式

Package users run `nush` for the shell/interpreter, `nuke` for Nu build tasks, and companion tools such as `nufmt`, `nudoc`, and `nutest`. The package is mostly of interest when exploring dynamic Objective-C programming, old Cocoa-era experiments, or Nu projects that predate Swift.

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

Nu is significant as an Apple-runtime language artifact: a compact example of the period when Objective-C's dynamic runtime invited alternate languages and DSLs before Swift consolidated most new Apple-platform language energy.

时间线

  • 2008-03-05: GitHub repository created.
  • Mac OS X 10.5 era: upstream README documented Mac support and possible Linux/iPhone builds.
  • 2023-07-11: GitHub API reported the last push date for the repository snapshot queried.

Related projects

  • Objective-C
  • Foundation framework
  • nush
  • nuke

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nubakecli全局可执行文件
nudoccli全局可执行文件
nufmtcli全局可执行文件
nukecli全局可执行文件
nushcli全局可执行文件
nutemplatecli全局可执行文件
nutestcli全局可执行文件
nutmbundlecli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本2.3.0
管理器更新时间2026-06-14
本地数据OK
上游当前
检测到的最新版本v2.3.0

https://github.com/programming-nu/nu

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:nu
版本2.3.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/nu
主页https://programming.nu/
仓库https://github.com/programming-nu/nu
上游文档https://programming-nu.github.io/about
许可证Apache-2.0
源码归档https://github.com/programming-nu/nu/archive/refs/tags/v2.3.0.tar.gz
最后更新2026-06-14T14:47:58+02:00
Pulseupdated
依赖libffi, pcre
macOS 提供的库libffi
Bottle可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项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

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenu
Version Scheme0
Revision4
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

dnf95%

nushell 0.99.1-4.fc45

A new type of shell

https://www.nushell.sh/

sudo dnf install nushell
  • License: MIT AND (Apache-2.0 OR MIT) AND BSD-3-Clause AND AND Unicode-3.0 AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nushell
  • 9 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Nu
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nushell from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

nu

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

main/nu

scoop install main/nu
  • normalized package name match
  • 匹配方式:Nu
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/nu.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Nushell.Nushell

winget install --id Nushell.Nushell -e
  • normalized package name match
  • 匹配方式:Nu
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Nushell.Nushell from https://cdn.winget.microsoft.com/cache/source.msix
Nix92%

nufmt

nix profile install nixpkgs#nufmt
  • installed executable or alias match
  • 匹配方式:Nufmt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/nu/nufmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

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

Combined YAML source

View the package source record on GitHub.

combined/nu.yml

使用的来源

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