Install Node.js on Arch Linux
Step 1 – Install
pacman -S --noconfirm nodejs npm
Step 2 – Verify
node --version && npm --version
Step 3 – Simple HTTP server
// app.js
const http = require('http');
http.createServer((req, res) => {
res.writeHead(200, {'Content-Type': 'text/plain'});
re...