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

Latest commit

 

History

History
14 lines (10 loc) · 879 Bytes

File metadata and controls

14 lines (10 loc) · 879 Bytes

Installation

Install the package globally to make the chrome-devtools command available. You only need to do this the first time you use it.

npm i chrome-devtools-mcp@latest -g
chrome-devtools status # check if install worked.

Troubleshooting

  • Command not found: If chrome-devtools is not recognized, ensure your global npm bin directory is in your system's PATH. Restart your terminal or source your shell configuration file (e.g., .bashrc, .zshrc).
  • Permission errors: If you encounter EACCES or permission errors during installation, avoid using sudo. Instead, use a node version manager like nvm, or configure npm to use a different global directory.
  • Old version running: Run chrome-devtools stop && npm uninstall -g chrome-devtools-mcp before reinstalling, or ensure the latest version is being picked up by your path.