siriusmart to Programmer Humor · 9 months agothe hardest exam questionimagemessage-square144fedilinkarrow-up1743arrow-down123
arrow-up1720arrow-down1imagethe hardest exam questionsiriusmart to Programmer Humor · 9 months agomessage-square144fedilink
minus-squareinetknghtlinkfedilinkarrow-up5·9 months ago It’s also not a scripting language. It definitely is a scripting language. hello-world.js: #!/usr/bin/env node console.log("Hello world"); Your favorite command line tool: chmod +x ./hello-world.js ./hello-world.js You just need to install npm, eg via apt-get install npm.
minus-squareKillingTimeItself@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up3arrow-down1·9 months agoeverything is a scripting language if you try hard enough.
It definitely is a scripting language.
hello-world.js
:#!/usr/bin/env node console.log("Hello world");
Your favorite command line tool:
chmod +x ./hello-world.js ./hello-world.js
You just need to install
npm
, eg viaapt-get install npm
.everything is a scripting language if you try hard enough.