Skip to main content
sudo bash -c "$(curl -fsSL https://github.com/dezerx-spartan/Spartan-Installer/releases/latest/download/spartan_installer.sh)" -- --non-interactive --update --app-dir="/var/www/directorynamehere"
Replace directorynamehere with your actual installation directory name.

Command Breakdown

ParameterDescription
--non-interactiveRuns the update without prompting for user input
--updateSpecifies that this is an update operation
--app-dirPath to your DezerX Spartan installation directory

Common Installation Directories

If you’re unsure of your installation directory, common path include:
  • /var/www/spartan
You can check your installation directory by running:
ls /var/www/

Example

If your installation is in /var/www/spartan, your update command would be:
sudo bash -c "$(curl -fsSL https://github.com/dezerx-spartan/Spartan-Installer/releases/latest/download/spartan_installer.sh)" -- --non-interactive --update --app-dir="/var/www/spartan"

Before You Update

Always backup your data before performing an update to prevent potential data loss, Our update script automatically does a backup and restores ur data incase of an issue, but better be safe then sorry