# 使用 Homebrew, Nix 安装 node-red

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

## 安装

```sh
sudo av install brew:node-red
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install node-red
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#node-red
```

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

## 软件包事实

- **软件包键:** brew:node-red
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/node-red>
- **版本:** 5.0.1
- **来源摘要:** Low-code programming for event-driven applications
- **主页:** <https://nodered.org/>
- **仓库:** <https://github.com/node-red/node-red>
- **上游文档:** <https://nodered.org/docs>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/node-red/-/node-red-5.0.1.tgz>
- **最后更新:** 2026-07-02T16:40:50Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- node-red (cli)
- node-red-pi (cli)
- node-red (别名)
- node-red-pi (别名)

## 依赖

- node

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 5.0.1
- 管理器更新时间: 2026-07-02
- 本地数据: OK
- 上游仓库: https://nodered.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Node-RED is a flow-based, low-code programming tool for event-driven applications. Its own site frames it as a way to collect, transform, and visualize real-time data, with a browser editor, Node.js runtime, JSON flow files, and a community library of more than 5,000 nodes and flows.

### 项目历史

Node-RED began in early 2013 as a side project by Nick O'Leary and Dave Conway-Jones in IBM's Emerging Technology Services group. The original proof of concept visualized and manipulated mappings between MQTT topics, then grew into a general-purpose tool for wiring hardware devices, APIs, online services, and application logic.

### 采用历史

The project was open-sourced in September 2013 and became one of the founding JS Foundation projects in October 2016. The Node.js Foundation and JS Foundation later merged into the OpenJS Foundation in 2019, giving Node-RED a vendor-neutral home alongside other JavaScript ecosystem projects.

A major adoption moment came on 25 November 2015, when Node-RED announced that the November 2015 Raspbian Jessie image shipped with Node-RED pre-installed and that it was also available through the Raspbian Jessie APT repositories. That helped push it into Raspberry Pi, home automation, education, and industrial IoT workflows.

### 使用方式

Homebrew users install it with `brew install node-red` and run the `node-red` command, then open the editor at `http://localhost:1880`. Node-RED's local install docs also show the npm path with `npm install -g node-red`, Docker via `docker run -it -p 1880:1880 --name mynodered nodered/node-red`, and command-line flags such as `--settings`, `--userDir`, `--port`, and `--safe`.

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

Node-RED sits in a funny and useful place for package people: it is a Node.js app, a visual programming environment, and a runtime for long-lived flows. The package pulls in the usual Node dependency world, but its users often think in deployed flow files, credentials files, palettes, and hardware-adjacent integrations rather than in conventional application source trees.

Homebrew Formulae lists node-red 5.0.0 and reports 1,044 installs over 365 days. That is small compared with npm usage, but it is a convenient macOS/Linux package-manager path for local flow development and lightweight automation boxes.

### Related projects

- Node.js
- OpenJS Foundation
- Raspberry Pi
- FlowFuse
- MQTT

### 来源

- <https://formulae.brew.sh/formula/node-red>
- <https://github.com/node-red/node-red>
- <https://nodered.org/>
- <https://nodered.org/about/>
- <https://nodered.org/blog/2015/11/25/node-red-included-in-raspian-jessie>
- <https://nodered.org/docs/getting-started/local>
- <https://nodered.org/docs/user-guide/runtime/securing-node-red>
- <https://www.linuxfoundation.org/press/press-release/node-js-foundation-and-js-foundation-merge-to-form-openjs-foundation>


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## 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: ~/.node-red/settings.js
- Windows: %HOMEPATH%\.node-red\settings.js

## Credential files

- Unix: ~/.node-red/flows_<hostname>_cred.json
- Windows: %HOMEPATH%\.node-red\flows_<hostname>_cred.json
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** node-red
- **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 - node-red: normalized package name match | nixpkgs package indexes: pkgs/by-name/no/node-red/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [flowpipe](https://www.automicvault.com/zh-hans/pkg/brew/flowpipe/) - Shares av.db curated category or tags: cli, developer-tools, workflow-automation.
- [dagu](https://www.automicvault.com/zh-hans/pkg/brew/dagu/) - Shares av.db curated category or tags: cli, developer-tools, workflow-automation.
- [git-town](https://www.automicvault.com/zh-hans/pkg/brew/git-town/) - Shares av.db curated category or tags: cli, developer-tools, workflow-automation.
- [action-docs](https://www.automicvault.com/zh-hans/pkg/brew/action-docs/) - Shares av.db curated category or tags: cli, developer-tools, nodejs.
- [chalk-cli](https://www.automicvault.com/zh-hans/pkg/brew/chalk-cli/) - Shares av.db curated category or tags: cli, developer-tools, nodejs.
- [claudekit](https://www.automicvault.com/zh-hans/pkg/brew/claudekit/) - Shares av.db curated category or tags: cli, developer-tools, workflow-automation.
- [corepack](https://www.automicvault.com/zh-hans/pkg/brew/corepack/) - Shares av.db curated category or tags: cli, developer-tools, nodejs.
- [czg](https://www.automicvault.com/zh-hans/pkg/brew/czg/) - Shares av.db curated category or tags: cli, developer-tools, nodejs.
- [node-red](https://www.automicvault.com/zh-hans/pkg/npm/node-red/) - Same normalized package name appears in another local ecosystem. Shared terms: applications, automation, cli, code, driven.
- [n8n-mcp](https://www.automicvault.com/zh-hans/pkg/brew/n8n-mcp/) - Both packages touch the same language runtime or ecosystem. Shared terms: automation, cli, code, developer, developer-tools.
- [node-red](https://www.automicvault.com/zh-hans/pkg/npm/node-red/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/node-red.yml](https://github.com/automic-vault/db/blob/main/combined/node-red.yml)


## 来源

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