我已经安装了node,但我需要降级版本,我正在考虑使用nvm。
我正在尝试在 Windows 中使用以下命令在具有管理员权限的 cmd 上安装 nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
但是我得到了以下信息:
C:\windows\system32>curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0The system cannot find the path specified.
49 16555 49 8226 0 0 88636 0 --:--:-- --:--:-- --:--:-- 92426
curl: (23) Failure writing output to destination
如何正确安装nvm?