由于之前先下载过node 后下载nvm 使用nvm use 18.18.2后 再次打印node -v还是之前的版本 解决方案: cmd中输入where node 找到之前的node.exe所在位置 删掉即可