先这个:window下安装并使用nvm(含卸载node、卸载nvm、全局安装npm)_window安装nvm-CSDN博客
然后到终端输入nvm list available报错:Could not retrieve https://npm.taobao.org/mirrors/node/index.json. Get "https://npm.taobao.org/mirrors/node/index.json": tls: failed to verify certificate: x509: certificate has expired or is not yet valid:
因为nvm淘宝镜像到期,settings的下载源改成
# 配置node镜像:
node_mirror: https://npmmirror.com/mirrors/node/
# 配置npm镜像:
npm_mirror: https://npmmirror.com/mirrors/npm/
改完再终端输入nvm list available就有各种版本号了