To write your first Node.js script:
app.js
console.log('Hello, Node.js!');
node app.js
This confirms your Node.js setup is working.