Files
nexus/wiki/entities/Node.js.md
2026-04-22 16:03:25 +08:00

37 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Node.js"
type: entity
tags: [javascript, runtime, n8n, mcp]
last_updated: 2025-12-31
---
## Overview
**Node.js** 是基于 Chrome V8 引擎的 JavaScript 运行时环境,允许在服务器端运行 JavaScript 代码。Node.js 是 n8n 工作流自动化平台的核心依赖,也是 n8n-mcp MCP 服务器的运行环境。
## Role in AI Workflow Stack
- **n8n 工作流引擎**n8n 基于 Node.js 构建,通过 npm 包管理安装
- **n8n-mcp**:作为 Node.js 全局 npm 包安装,通过 `npx n8n-mcp` 启动 MCP 服务器
- **Claude Desktop**Node.js 是运行 n8n-mcp 的运行时前提
## Version Requirement
- n8n-mcp 要求 **Node.js 18+**
- n8n 通常要求 **Node.js 18.x 或更高版本**
## Installation
```bash
# Check version
node --version
# Install via nvm (recommended)
nvm install 18
nvm use 18
# Or via official installer
# https://nodejs.org/
```
## Related
- [[n8n]] — n8n 工作流自动化平台,基于 Node.js 构建
- [[n8n-mcp]] — Node.js 全局 npm 包,作为 Claude 与 n8n 之间的 MCP 服务器
- [[Claude Desktop]] — 通过 n8n-mcp 连接 n8n 的桌面客户端