Understand every command before running it — select your OS or generate your own!
Ubuntu / Debian Install & Package Management
sudo apt update && sudo apt upgrade -y
sudo apt update updates the local package cache. sudo apt upgrade -y upgrades all installed packages to the latest versions. -y auto-confirms prompts. Run this before any install!
Installs developer/build tools, Git, Curl, Wget, and UFW (firewall). build-essential includes GCC, g++, make, and other essential dev tools.
sudo apt install python3 python3-pip -y
Installs modern Python and Pip. python3: Interpreter, python3-pip: Python package manager.
sudo apt install nodejs npm -y
Installs Node.js (JavaScript runtime) and npm (Node package manager).
sudo apt install docker.io docker-compose -y
Installs Docker (container runtime) and Docker Compose (multi-container orchestration). Tip: Run sudo systemctl enable --now docker to enable Docker service at boot.
RHEL / CentOS (8/9+) Install & Package Management
sudo dnf update -y && sudo dnf upgrade -y
dnf update updates the package metadata. dnf upgrade -y upgrades all installed packages.