feat: add Node.js prerequisite check and install instructions to README

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
delta-cloud-208e
2026-02-27 08:34:13 +00:00
parent e45a11c97d
commit 97a1433bbd
4 changed files with 172 additions and 0 deletions

View File

@@ -16,6 +16,49 @@ Patched AI coding tools for use with custom API endpoints.
## Quick Start
### Prerequisites Check
Before installing, verify Node.js v24.13+ is installed:
```bash
# Check Node.js version
node --version
# If Node.js is missing or version is too old, install:
# Linux (Debian/Ubuntu):
sudo apt update && sudo apt install -y nodejs npm
# Linux (RHEL/Fedora):
sudo dnf install -y nodejs npm
# macOS:
brew install node
# Windows (PowerShell as Admin):
winget install OpenJS.NodeJS
```
### Alternative - Auto-install Node.js
If you need to install or update Node.js automatically:
**Linux:**
```bash
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - && sudo apt-get install -y nodejs
```
**macOS:**
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install node
```
**Windows:**
```powershell
# As Administrator
winget install OpenJS.NodeJS
```
### Claude Code — Install
Two commands on any platform:

View File

@@ -16,6 +16,49 @@ Herramientas de IA para codificación con soporte para puntos finales de API per
## Inicio rápido
### Verificación de requisitos previos
Antes de instalar, verifique que Node.js v24.13+ esté instalado:
```bash
# Comprobar versión de Node.js
node --version
# Si falta Node.js o la versión es demasiado antigua, instale:
# Linux (Debian/Ubuntu):
sudo apt update && sudo apt install -y nodejs npm
# Linux (RHEL/Fedora):
sudo dnf install -y nodejs npm
# macOS:
brew install node
# Windows (PowerShell como Administrador):
winget install OpenJS.NodeJS
```
### Alternativa - Autoinstalación de Node.js
Si necesita instalar o actualizar Node.js automáticamente:
**Linux:**
```bash
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - && sudo apt-get install -y nodejs
```
**macOS:**
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install node
```
**Windows:**
```powershell
# Como Administrador
winget install OpenJS.NodeJS
```
### Claude Code — Instalación
Dos comandos en cualquier plataforma:

View File

@@ -16,6 +16,49 @@
## Быстрый старт
### Проверка зависимостей
Перед установкой убедитесь, что установлен Node.js v24.13+:
```bash
# Проверить версию Node.js
node --version
# Если Node.js отсутствует или версия слишком старая, установите:
# Linux (Debian/Ubuntu):
sudo apt update && sudo apt install -y nodejs npm
# Linux (RHEL/Fedora):
sudo dnf install -y nodejs npm
# macOS:
brew install node
# Windows (PowerShell от администратора):
winget install OpenJS.NodeJS
```
### Альтернатива - Автоустановка Node.js
Если вам нужно установить или обновить Node.js автоматически:
**Linux:**
```bash
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - && sudo apt-get install -y nodejs
```
**macOS:**
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install node
```
**Windows:**
```powershell
# От администратора
winget install OpenJS.NodeJS
```
### Claude Code — Установка
Две команды на любой платформе:

View File

@@ -16,6 +16,49 @@
## 快速开始
### 先决条件检查
安装前,请确认已安装 Node.js v24.13+
```bash
# 检查 Node.js 版本
node --version
# 如果缺少 Node.js 或版本过旧,请安装:
# Linux (Debian/Ubuntu):
sudo apt update && sudo apt install -y nodejs npm
# Linux (RHEL/Fedora):
sudo dnf install -y nodejs npm
# macOS:
brew install node
# Windows (以管理员身份运行 PowerShell):
winget install OpenJS.NodeJS
```
### 替代方案 - 自动安装 Node.js
如果需要自动安装或更新 Node.js
**Linux:**
```bash
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - && sudo apt-get install -y nodejs
```
**macOS:**
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install node
```
**Windows:**
```powershell
# 以管理员身份运行
winget install OpenJS.NodeJS
```
### Claude Code — 安装
在任何平台上只需两行命令: