Go to the official XAMPP website (https://www.apachefriends.org/index.html ) and download the version suitable for your operating system (Windows, macOS, or Linux).
Double-click the downloaded file and follow the installation wizard. Choose components like Apache, MySQL, PHP, and phpMyAdmin during installation.
chmod 755 xampp-linux-*-installer.run
sudo ./xampp-linux-*-installer.run