docs: clarify Node 20+ requirement, MCP setup, restart instructions

This commit is contained in:
“BeeRad”
2026-02-02 15:41:29 +11:00
parent 9099b20735
commit 49ff3678a3
2 changed files with 21 additions and 5 deletions
+3 -3
View File
@@ -11,10 +11,10 @@ log() {
echo "[bootstrap-local] $1"
}
# Check Node.js version (require 18+)
# Check Node.js version (require 20+)
NODE_VERSION=$(node -v 2>/dev/null | cut -d'v' -f2 | cut -d'.' -f1 || echo "0")
if [ "$NODE_VERSION" -lt 18 ]; then
echo "Error: Node.js 18+ required (found v$NODE_VERSION or not installed)" >&2
if [ "$NODE_VERSION" -lt 20 ]; then
echo "Error: Node.js 20+ required (found v$NODE_VERSION or not installed)" >&2
echo "Install from: https://nodejs.org" >&2
exit 1
fi