mkdir testNode cd testNode npm install moment --save cat <<EOT > testNode.js 'use strict'; console.log('asd'); EOT c testNode.js node testNode.js