@kinda 在 windows使用claude code并直接使用gemini(不是MCP) 中发帖
1:先使用WSL安装下,这里之前在WSL安装会被检测到还是属于windows,用下面方法可正常安装
Install NVM (Node Version Manager) in WSL:
sudo apt-get install curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
Close and reopen your terminal, or run:
source ~/.bashrc
Install Node.js using NVM:
nvm install node
Verify Node.js is installed in the Linux environment:
which npm
Should show: /home/usernam...