Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(desktop): move desktop tooling from node 22 to 24 (#130121)

Georges-Antoine Assif5b7f605f30e
diff --git a/products/desktop/.node-version b/products/desktop/.node-version
index c62d2c858186..d81bb4672348 100644
--- a/products/desktop/.node-version
+++ b/products/desktop/.node-version
@@ -1 +1 @@
-22.23.4
\ No newline at end of file
+24.22.2
\ No newline at end of file
diff --git a/products/desktop/apps/code/package.json b/products/desktop/apps/code/package.json
index c14a6c1b948f..029b3e096b83 100644
--- a/products/desktop/apps/code/package.json
+++ b/products/desktop/apps/code/package.json
@@ -6,7 +6,7 @@
"main": ".vite/build/bootstrap.js",
"versionHash": "dynamic",
"engines": {
- "node": ">=22.19.0",
+ "node": ">=24.19.0",
"pnpm": ">=9.0.0"
},
"scripts": {
diff --git a/products/desktop/docs/LOCAL-DEVELOPMENT.md b/products/desktop/docs/LOCAL-DEVELOPMENT.md
index f9425c21c9a0..f7738d54a651 100644
--- a/products/desktop/docs/LOCAL-DEVELOPMENT.md
+++ b/products/desktop/docs/LOCAL-DEVELOPMENT.md
@@ -84,7 +84,7 @@ Adding it to production dependencies makes Electron packaging expand the harness
## Run the app
-Already working in the posthog/posthog monorepo? Skip the clone: the app lives at `products/desktop`. Note it needs Node 22 (see `.node-version`), not the Node version the monorepo's flox environment provides, so switch with your version manager first.
+Already working in the posthog/posthog monorepo? Skip the clone: the app lives at `products/desktop`. Note it needs Node 24 (see `.node-version`), not the Node version the monorepo's flox environment provides, so switch with your version manager first.
```bash
cd products/desktop
diff --git a/products/desktop/package.json b/products/desktop/package.json
index ee8cee54ccfa..f9e6ec022ad4 100644
--- a/products/desktop/package.json
+++ b/products/desktop/package.json
@@ -4,7 +4,7 @@
"private": true,
"description": "Monorepo for the PostHog desktop app and agent framework",
"engines": {
- "node": ">=22.19.0"
+ "node": ">=24.19.0"
},
"packageManager": "[email protected]",
"scripts": {