豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 6c64a5b

Browse files
zyzyzyryxyPiotr Paulski
andauthored
fix: update VS Code manual installation powershell command (#1151)
Fix #1139 Powershell uses different rules regarding escaping quotes, so default installation command doesn't work there. This PR adds version of the command reporter of the issue confirms is working. Co-authored-by: Piotr Paulski <piotrpaulski@chromium.org>
1 parent 94de19c commit 6c64a5b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,18 @@ Configure the following fields and press `CTRL+S` to save the configuration:
228228
Follow the MCP install <a href="https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server">guide</a>,
229229
with the standard config from above. You can also install the Chrome DevTools MCP server using the VS Code CLI:
230230

231+
For macOS and Linux:
232+
231233
```bash
232234
code --add-mcp '{"name":"io.github.ChromeDevTools/chrome-devtools-mcp","command":"npx","args":["-y","chrome-devtools-mcp"],"env":{}}'
233235
```
234236

237+
For Windows (PowerShell):
238+
239+
```powershell
240+
code --add-mcp '{"""name""":"""io.github.ChromeDevTools/chrome-devtools-mcp""","""command""":"""npx""","""args""":["""-y""","""chrome-devtools-mcp"""]}'
241+
```
242+
235243
</details>
236244

237245
<details>

0 commit comments

Comments
 (0)