# Cursor Cloud Agent - Node Version 22.22

**URL:** <https://forum.cursor.com/t/cursor-cloud-agent-node-version-22-22/150647>\
**Category:** Bug Reports\
**Tags:** installation, cloud-agents\
**Created:** [February 2, 2026, 8:38pm UTC](https://forum.cursor.com/t/cursor-cloud-agent-node-version-22-22/150647 "2026-02-02T20:38:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![archiewood](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/archiewood/32/96949_2.png) [@archiewood](https://forum.cursor.com/u/archiewood)\
**Post date:** [February 2, 2026, 8:38pm UTC](https://forum.cursor.com/t/cursor-cloud-agent-node-version-22-22/150647/1 "2026-02-02T20:38:30Z")

</div>

### Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

### Describe the Bug

One of our npm packages (@posthog/posthog-node) requires node 22 \>22.22

Cursor Cloud Agent comes with node 22.21

.nvmrc appears to be ignored

I cannot downgrade posthog due to a CVE in the prior version

### Steps to Reproduce

init a new repo  
connect it to cursor  
install posthog-node@5.24.7  
try to start a background agent

Boot fails

```Installing

INFO Successfully refreshed access token in git config. {"hostname":"github.com"}
INFO exec-daemon-gh: Writing token to gh hosts.yml

Scope: all 3 workspace projects
Lockfile is up to date, resolution step is skipped
 ERR_PNPM_UNSUPPORTED_ENGINE Unsupported environment (bad pnpm and/or Node.js version)

Your Node version is incompatible with "@posthog/ai@7.8.2(@ai-sdk/provider@3.0.4)(@modelcontextprotocol/sdk@1.25.2(@cfworker/json-schema@4.1.1)(hono@4.11.4)(zod@3.25.76))(@opentelemetry/api@1.9.0)(@opentelemetry/sdk-trace-base@2.2.0(@opentelemetry/api@1.9.0))(posthog-node@5.21.1)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(ws@8.19.0)(zod-to-json-schema@3.25.1(zod@3.25.76))".

Expected version: ^20.20.0 || >=22.22.0
Got: v22.21.1

This is happening because the package's manifest has an engines.node field specified.
To fix this issue, install the required Node version.

```

### Expected Behavior

Cloud agent boots and continues to install

### Operating System

Linux

### Version Information

Cloud Agent

### Does this stop you from using Cursor

Yes - Cursor is unusable

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [February 3, 2026, 4:15am UTC](https://forum.cursor.com/t/cursor-cloud-agent-node-version-22-22/150647/3 "2026-02-03T04:15:31Z")

</div>

Hey, thanks for the report.

This is a valid bug. Cloud Agent really doesn’t pick up `.nvmrc` and ships with a fixed Node version. I’ll pass this to the team.

Unfortunately, the workaround is limited right now. You can try setting `"engines": { "node": ">=22.21" }` in `package.json` with `"engineStrict": false` if that works for your project, but I get that this doesn’t solve the CVE issue in the older PostHog version.

Let me know if anything changes on your side.

---

<div class="post-metadata">

**Author:** ![archiewood](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/archiewood/32/96949_2.png) [@archiewood](https://forum.cursor.com/u/archiewood)\
**Post date:** [February 3, 2026, 9:29pm UTC](https://forum.cursor.com/t/cursor-cloud-agent-node-version-22-22/150647/5 "2026-02-03T21:29:26Z")

</div>

Nice thanks.

For those who need a workaround I was able to change my install command to

```auto
pnpm install --config.engine-strict=false

```

Obviously not ideal but it works

---

<div class="post-metadata">

**Author:** ![archiewood](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/archiewood/32/96949_2.png) [@archiewood](https://forum.cursor.com/u/archiewood)\
**Post date:** [February 3, 2026, 9:30pm UTC](https://forum.cursor.com/t/cursor-cloud-agent-node-version-22-22/150647/7 "2026-02-03T21:30:52Z")

</div>

I also attempted the Dockerfile setup but gave up as it was hard to debug

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [February 25, 2026, 9:31pm UTC](https://forum.cursor.com/t/cursor-cloud-agent-node-version-22-22/150647/8 "2026-02-25T21:31:50Z")

</div>

Closed on February 25, 2026, 9:31pm UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [May 5, 2026, 10:25am UTC](https://forum.cursor.com/t/cursor-cloud-agent-node-version-22-22/150647/10 "2026-05-05T10:25:14Z")

</div>

Just a quick note that 22.22.2 is the default version installed on Cloud Agents these days! At any given time, we should be using the latest version of an LTS.
