我通过nvm-windows安装了Node,但命令’node-v’不存在。

huangapple go评论87阅读模式
英文:

I installed node through nvm-windows but the command 'node-v' does not exist

问题

我通过 nvm-windows 安装了 node,但命令 'node-v' 不存在,
我执行了命令 'nvm use 18.12.1',提示是 “Now using node v18.12.1”。这是否意味着安装成功了?
我希望能够成功安装 node。

英文:

I installed node through nvm-windows but the command 'node-v' does not exist,
I did command 'nvm use 18.12.1', That tips is “Now using node v18.12.1”. It means i had installed successed ?

I expect node to install successfully.

答案1

得分: 2

Did you try node-v? If yes, you miss the space.

The right command should be node -v or node --version.

英文:

Just to check, did you try node-v? If yes, you miss the space.

The right command should be node -v or node --version.

huangapple
  • 本文由 发表于 2023年6月15日 11:42:34
  • 转载请务必保留本文链接:https://go.coder-hub.com/76478950.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定