dnf install nodejs cd ~ mkdir myhelloMake file called myhello.js containing:
#!/usr/bin/env node 'use strict'; console.log('Hello World!');Make it executable:
chmod a+x myhello.jsRun it:
./myhello.js
dnf install nodejs cd ~ mkdir myhelloMake file called myhello.js containing:
#!/usr/bin/env node 'use strict'; console.log('Hello World!');Make it executable:
chmod a+x myhello.jsRun it:
./myhello.js