search

Home  >  Q&A  >  body text

node.js - nodejs提示"$ 不是内部或外部命令"

怪我咯怪我咯2785 days ago504

reply all(4)I'll reply

  • 大家讲道理

    大家讲道理2017-04-17 16:23:21

    $ is the prompt under Linux, equivalent to C:UsersAdministrator>$ 是 Linux 下的提示符,相当于你那个命令行窗口的 C:UsersAdministrator>

    所以只需要运行 node -v in your command line window

    So just run node -v and it’s done🎜

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 16:23:21

    node -v 为什么要加$

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 16:23:21

    You wrote it wrong. Why did you write $? Just node -v and that’s it
    That in the git command line $ came out by myself. I think you may have been misled by online tutorials$干嘛 直接 node -v 就可以了
    git命令行中 那个$是自己出来的 我想你可以被网上教程误导了

    cmd中直接node -v

    🎜🎜 🎜 Directly node -v in cmd 🎜 🎜🎜🎜🎜🎜

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 16:23:21

    I also misunderstood this at first
    You may also encounter sudo, and windows should also ignore it

    reply
    0
  • Cancelreply