Skip to content
Merged
2 changes: 1 addition & 1 deletion .agents/skills/nemoclaw-get-started/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The sandbox image is approximately 2.4 GB compressed. During image push, the Doc
| Dependency | Version |
|------------|----------------------------------|
| Linux | Ubuntu 22.04 LTS or later |
| Node.js | 20 or later |
| Node.js | 22.16 or later |
| npm | 10 or later |
| Container runtime | Supported runtime installed and running |
| [OpenShell](https://github.com/NVIDIA/OpenShell) | Installed |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ If you see an unsupported platform error, verify that you are running on a suppo

### Node.js version is too old

NemoClaw requires Node.js 20 or later.
NemoClaw requires Node.js 22.16 or later.
If the installer exits with a Node.js version error, check your current version:

```console
$ node --version
```

If the version is below 20, install a supported release.
If the version is below 22.16, install a supported release.
If you use nvm, run:

```console
$ nvm install 20
$ nvm use 20
$ nvm install 22
$ nvm use 22
```

Then re-run the installer.
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Open an issue when you encounter one of the following situations.

Install the following before you begin.

- Node.js 20+ and npm 10+
- Node.js 22.16+ and npm 10+
- Python 3.11+ (for blueprint and documentation builds)
- Docker (running)
- [uv](https://docs.astral.sh/uv/) (for Python dependency management)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The sandbox image is approximately 2.4 GB compressed. During image push, the Doc
| Dependency | Version |
|------------|----------------------------------|
| Linux | Ubuntu 22.04 LTS or later |
| Node.js | 20 or later |
| Node.js | 22.16 or later |
| npm | 10 or later |
| Container runtime | Supported runtime installed and running |
| [OpenShell](https://github.com/NVIDIA/OpenShell) | Installed |
Expand Down
8 changes: 4 additions & 4 deletions docs/reference/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ If you see an unsupported platform error, verify that you are running on a suppo

### Node.js version is too old

NemoClaw requires Node.js 20 or later.
NemoClaw requires Node.js 22.16 or later.
If the installer exits with a Node.js version error, check your current version:

```console
$ node --version
```

If the version is below 20, install a supported release.
If the version is below 22.16, install a supported release.
If you use nvm, run:

```console
$ nvm install 20
$ nvm use 20
$ nvm install 22
$ nvm use 22
```

Then re-run the installer.
Expand Down
11 changes: 5 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,9 @@ spin() {

command_exists() { command -v "$1" &>/dev/null; }

MIN_NODE_MAJOR=20
MIN_NODE_VERSION="22.16.0"
MIN_NPM_MAJOR=10
RECOMMENDED_NODE_MAJOR=22
RUNTIME_REQUIREMENT_MSG="NemoClaw requires Node.js >=${MIN_NODE_MAJOR} and npm >=${MIN_NPM_MAJOR} (recommended Node.js ${RECOMMENDED_NODE_MAJOR})."
RUNTIME_REQUIREMENT_MSG="NemoClaw requires Node.js >=${MIN_NODE_VERSION} and npm >=${MIN_NPM_MAJOR}."
NEMOCLAW_SHIM_DIR="${HOME}/.local/bin"
ORIGINAL_PATH="${PATH:-}"

Expand Down Expand Up @@ -274,7 +273,7 @@ ensure_supported_runtime() {
[[ "$node_major" =~ ^[0-9]+$ ]] || error "Could not determine Node.js version from '${node_version}'. ${RUNTIME_REQUIREMENT_MSG}"
[[ "$npm_major" =~ ^[0-9]+$ ]] || error "Could not determine npm version from '${npm_version}'. ${RUNTIME_REQUIREMENT_MSG}"

if ((node_major < MIN_NODE_MAJOR || npm_major < MIN_NPM_MAJOR)); then
if ! version_gte "${node_version#v}" "$MIN_NODE_VERSION" || ((npm_major < MIN_NPM_MAJOR)); then
error "Unsupported runtime detected: Node.js ${node_version:-unknown}, npm ${npm_version:-unknown}. ${RUNTIME_REQUIREMENT_MSG} Upgrade Node.js and rerun the installer."
fi

Expand Down Expand Up @@ -318,9 +317,9 @@ install_nodejs() {
spin "Installing nvm..." bash "$nvm_tmp"
rm -f "$nvm_tmp"
ensure_nvm_loaded
spin "Installing Node.js ${RECOMMENDED_NODE_MAJOR}..." bash -c ". \"$NVM_DIR/nvm.sh\" && nvm install ${RECOMMENDED_NODE_MAJOR} --no-progress"
spin "Installing Node.js 22..." bash -c ". \"$NVM_DIR/nvm.sh\" && nvm install 22 --no-progress"
ensure_nvm_loaded
nvm use "${RECOMMENDED_NODE_MAJOR}" --silent
nvm use 22 --silent
info "Node.js installed: $(node --version)"
}

Expand Down
216 changes: 5 additions & 211 deletions nemoclaw/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading