nodejsHow to check if Node.js is installed or not
node -v
ctrl + c
node -v returns installed Node.js version or error ( |
Usage example
node -v
output
-bash: /usr/bin/node: No such file or directory
Related
More of Nodejs
- How to pipeline streams
- How to write file
- How to post url-encoded data
- How to send message to client from websocket server
- How to read stream to Buffer
- How to install latest Node.js version on Ubuntu
- How to make POST request
- How to install Node.js on Ubuntu 22.04
- How to get UTC timestamp
- How to get format date in "yyyy-mm-dd"
See more codes...