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 send message to client from websocket server
- How to read stream to string
- How to pretty print JSON stringify
- How to get IP address
- How to get UTC timestamp
- How to create SSL websocket server
- How to read stream to Buffer
- How to POST JSON data
- How to send JSON response from HTTP server
- How to get current timestamp in seconds
See more codes...