From a105768de84baee4ea67499192d054766331f18b Mon Sep 17 00:00:00 2001 From: Mehmet Gok Date: Mon, 23 Feb 2026 19:17:04 +0000 Subject: [PATCH] docs(CONTRIBUTING): update React DevTools version to 6 (#20014) Co-authored-by: Jacob Richman --- CONTRIBUTING.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7dfe898f14..28e3c775d3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -372,8 +372,7 @@ specific debug settings. ### React DevTools -To debug the CLI's React-based UI, you can use React DevTools. Ink, the library -used for the CLI's interface, is compatible with React DevTools version 4.x. +To debug the CLI's React-based UI, you can use React DevTools. 1. **Start the Gemini CLI in development mode:** @@ -381,20 +380,20 @@ used for the CLI's interface, is compatible with React DevTools version 4.x. DEV=true npm start ``` -2. **Install and run React DevTools version 4.28.5 (or the latest compatible - 4.x version):** +2. **Install and run React DevTools version 6 (which matches the CLI's + `react-devtools-core`):** You can either install it globally: ```bash - npm install -g react-devtools@4.28.5 + npm install -g react-devtools@6 react-devtools ``` Or run it directly using npx: ```bash - npx react-devtools@4.28.5 + npx react-devtools@6 ``` Your running CLI application should then connect to React DevTools.