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 set content type in HTTP server
- How to post url-encoded data
- How to get UTC timestamp
- How to export class
- How to convert JSON to Buffer
- How to allow CORS in HTTP server
- How to run Node.js script in background
- How to write file
- How to send JSON response from HTTP server
- How to convert JSON to array
See more codes...