Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

docs(install): make Node.js 18+ a hard prerequisite alongside Python + Git

Ruben Lütkeb8a7ba24e953
diff --git a/README.md b/README.md
index c01ea5e280..131ce85ca0 100644
--- a/README.md
+++ b/README.md
@@ -75,13 +75,14 @@ it. A few things it can do today:
## Requirements
-You need exactly **two** things on your machine before you install. The installer checks for
-both up front and stops with a download link if either is missing — nothing else is mandatory.
+You need exactly **three** things on your machine before you install. The installer checks for
+all three up front and stops with a download link if any is missing — nothing else is mandatory.
| Required | Version | Why it's needed |
|---|---|---|
| **Python** | 3.11 or newer | The application runs on Python. |
| **Git** | any recent release | Fetches the project and runs background missions in isolated worktrees. |
+| **Node.js** | 18 or newer | Runs the agent CLIs the worker delegates heavy missions to (Claude Code, Codex) and a few Node-based integrations. *(Not needed on the `--headless` cloud-only server path.)* |
Everything below is **optional** — each item only unlocks a specific feature, and Personal
Jarvis runs without it:
@@ -89,7 +90,6 @@ Jarvis runs without it:
| Optional | Unlocks |
|---|---|
| A provider **API key or subscription login** — Gemini, Claude, OpenAI, or OpenRouter | Actually talking to a brain. Bring your own; nothing is bundled. The app's one-time setup guide stores it in your OS credential manager. |
-| **Node.js** 18+ | The agent CLIs the worker delegates heavy tasks to (Claude Code, Codex) and a few Node-based marketplace integrations. |
| **libportaudio** *(Linux only)* | Local microphone and speakers (`apt install libportaudio2`). Not needed for the headless / browser-audio path. |
| A **GPU** | Faster fully-offline speech. The local voice models install by default and run on CPU everywhere; a GPU only speeds them up. Cloud speech needs none of this. |
@@ -122,7 +122,7 @@ curl -fsSL https://raw.githubusercontent.com/PersonalJarvis/PersonalJarvis/main/
| Install flag | Effect |
|---|---|
-| `--headless` | Minimal server install (advanced): API + WebSocket only, torch-free base — the tiny-VPS path |
+| `--headless` | Minimal server install (advanced): API + WebSocket only, torch-free base, no Node.js required — the tiny-VPS path |
| `--no-launch` | Install only; don't start the app |
**Uninstall** — one command removes everything a plain folder-delete would miss: the
diff --git a/install/install.ps1 b/install/install.ps1
index 0cb029e593..67428e78be 100644
--- a/install/install.ps1
+++ b/install/install.ps1
@@ -6,9 +6,10 @@
# This bootstrap is intentionally small. It:
# 1. Verifies Python 3.11+ is available.
# 2. Verifies git is available.
-# 3. Clones (or updates) personal-jarvis into ~\.personal-jarvis.
-# 4. Creates a Python venv, installs `rich` + `packaging`.
-# 5. Hands control to install/installer.py (the Stage 2 orchestrator).
+# 3. Verifies Node.js 18+ is available (skipped on --headless).
+# 4. Clones (or updates) personal-jarvis into ~\.personal-jarvis.
+# 5. Creates a Python venv, installs `rich` + `packaging`.
+# 6. Hands control to install/installer.py (the Stage 2 orchestrator).
#
# All heavy logic lives in installer.py so it can be unit-tested and
# kept cross-platform. This file is meant to be read top-to-bottom in
@@ -135,6 +136,28 @@ if (-not $gitCheck.Found) {
}
Write-Ok 'git'
+# Node.js 18+ — required for the Jarvis-Agent worker CLIs (Claude Code / Codex)
+# the worker delegates heavy missions to, plus the Node-based marketplace
+# integrations. Skipped on the headless / tiny-VPS path (--headless): a
+# cloud-only base install that never spawns a local CLI worker, so Node adds no
+# capability there.
+if ($ExtraArgs -contains '--headless') {
+ Write-Note 'Node.js check skipped (--headless): the cloud-only base install does not use it.'
+} else {
+ $nodeOk = $false
+ $nodeCheck = Test-Tool 'node'
+ if ($nodeCheck.Found -and $nodeCheck.Version -match 'v?(\d+)\.\d+\.\d+') {
+ $nodeOk = ([int]$Matches[1] -ge 18)
+ }
+ if (-not $nodeOk) {
+ Write-Err 'Node.js 18+ not found.'
+ Write-Note 'Install the LTS build from https://nodejs.org/ then re-run this command.'
+ Write-Note '(After install, open a NEW PowerShell window so PATH refreshes.)'
+ exit 1
+ }
+ Write-Ok "Node.js $($nodeCheck.Version)"
+}
+
# ----------------------------------------------------------------- clone / update
Write-Step 'Fetching Personal Jarvis'
Write-Note $InstallDir
diff --git a/install/install.sh b/install/install.sh
index f23ff2ef16..6cf9672190 100755
--- a/install/install.sh
+++ b/install/install.sh
@@ -7,9 +7,10 @@
# This bootstrap is intentionally small. It:
# 1. Verifies Python 3.11+ is available.
# 2. Verifies git is available.
-# 3. Clones (or updates) personal-jarvis into ~/.personal-jarvis.
-# 4. Creates a Python venv, installs `rich` + `packaging`.
-# 5. Hands control to install/installer.py (the Stage 2 orchestrator).
+# 3. Verifies Node.js 18+ is available (skipped on --headless).
+# 4. Clones (or updates) personal-jarvis into ~/.personal-jarvis.
+# 5. Creates a Python venv, installs `rich` + `packaging`.
+# 6. Hands control to install/installer.py (the Stage 2 orchestrator).
#
# All heavy logic lives in installer.py so it can be unit-tested and
# kept cross-platform.
@@ -91,6 +92,34 @@ if ! command -v git >/dev/null 2>&1; then
fi
ok 'git'
+# Node.js 18+ — required for the Jarvis-Agent worker CLIs (Claude Code / Codex)
+# the worker delegates heavy missions to, plus the Node-based marketplace
+# integrations. Skipped on the headless / tiny-VPS path (--headless): a
+# cloud-only base install that never spawns a local CLI worker, so Node adds no
+# capability there.
+skip_node=0
+for arg in "$@"; do
+ if [ "$arg" = "--headless" ]; then skip_node=1; break; fi
+done
+if [ "$skip_node" -eq 1 ]; then
+ note 'Node.js check skipped (--headless): the cloud-only base install does not use it.'
+else
+ node_ok=0
+ if command -v node >/dev/null 2>&1; then
+ node_major=$(node --version 2>/dev/null | sed -E 's/^v?([0-9]+).*/\1/')
+ if [ -n "$node_major" ] && [ "$node_major" -ge 18 ] 2>/dev/null; then
+ node_ok=1
+ fi
+ fi
+ if [ "$node_ok" -eq 0 ]; then
+ err 'Node.js 18+ not found.'
+ note ' - macOS: "brew install node" or https://nodejs.org/'
+ note ' - Linux: your distro package (apt install nodejs, ...) or https://nodejs.org/'
+ exit 1
+ fi
+ ok "Node.js $(node --version)"
+fi
+
# -------------------------------------------------------------- clone / update
step 'Fetching Personal Jarvis'
note "$INSTALL_DIR"