I've installed Node and restarted my computer, added ;C:\Program Files\nodejs\ to my Paths, but when I run $ node -version in the command prompt to check the version it returns "'$' is not recognized as an internal or external command, operable program or batch file.
相关问题
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs
- google-drive can't get push notifications
- How to reimport module with ES6 import
- Why is `node.js` dying when called from inside pyt
- How to verify laravel passport api token in node /
相关文章
- 在vscode如何用code runner打开独立的控制台窗口,以及设置好调试模式时窗口的编码?
- node连接远程oracle报错
- How can make folder with Firebase Cloud Functions
- @angular-cli install fails with deprecated request
- node.js modify file data stream?
- How to resolve hostname to an ip address in node j
- Transactionally writing files in Node.js
- Log to node console or debug during webpack build
You don't need the
$
. It is just a prompt marker on Unix-type systems. It is tradition among the Unix folks when listing in instructions some commands to enter at the command line to precede a command with the$
. It signals that it is a shell command, but when you type the command, you don't type it. So if you see:You type
node foo.js
at the command line prompt, and not the$
.You might also see
#
sometimes, which again, traditionally, is a prompt but this one is associated with theroot
user. So it would precede a command to be executed as the userroot
on a Unix-type system.