节点版本管理器

Node version manager

我正在尝试安装 n 来降级节点 它给了我:

Unsupported platform for n@8.0.0: wanted {"os":"!win32"} (current: {"os":"win32","arch":"x64"})

如果你知道如何解决这个问题,请告诉我。

official doc 说:

n does not work in native shells on Microsoft Windows (like PowerShell), or Git for Windows BASH, or with the Cygwin DLL.

是的,您的 Windows 机器不受支持。