run javascript using node js in command prompt windows code example Example: node command > node Welcome to Node.js <version>. >'type in javascript'