nodejsHow to check if Node.js is installed or not
node -vctrl + cnode -vreturns installed Node.js version or error ( |
Usage example
node -v
output
-bash: /usr/bin/node: No such file or directoryRelated
More of Nodejs
- How to read stream to Buffer
- How to set content type in HTTP server
- How to send message to client from websocket server
- How to read stream to string
- How to write file
- How to make GET request
- How to get current timestamp in seconds
- How to allow CORS in HTTP server
- How to pretty print JSON stringify
- How to pipeline streams
See more codes...