#!/bin/bash # Update package list sudo apt-get update # Install curl if not installed sudo apt-get install -y curl # Download and run NodeSource setup script for Node.js 18.x (latest LTS) curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - # Install Node.js (includes npm) sudo apt-get install -y nodejs # Check versions installed node -v npm -v npm install -g concurrently