3 8. Updating
René Kreijveld edited this page 2026-05-31 09:54:47 +02:00

Updating

jddev-update

Update all installed ddev-joomla scripts to the latest versions from GitHub.

Usage

jddev-update [-f]

Options

Option Description
-f Force - update all scripts to the latest version

What it does

  1. Prompts for confirmation and your password (for writing to /usr/local/bin/)
  2. Downloads the latest scripts from the GitHub main branch to a temporary directory
  3. For each script, compares the version in the downloaded file against the installed version
  4. Only replaces a script if the downloaded version is newer (semantic version comparison) unless the -f option is used
  5. Reports which scripts were updated, skipped (already up to date), or failed
  6. Writes a log to ~/.config/ddevjoomla/ddev-joomla-update.log

Alternative: run the updater directly

You can also run the updater script directly without having it installed:

/bin/bash -c "$(curl -fsSL https://code.kreijveld.com/renekreijveld/ddev-joomla/raw/branch/main/updater/ddev-joomla-updater.sh)"

This is useful if jddev-update itself is outdated.

Update log

After each update run, a log is written to:

~/.config/ddevjoomla/ddev-joomla-update.log

Check this file to see which scripts were updated and when.