No results
5
8. Updating
René Kreijveld edited this page 2026-07-20 08:44:19 +02:00
Updating
jddev-update
Update all installed ddev-joomla scripts to the latest versions from GitHub.
Usage
jddev-update [-f] [-h]
Options
| Option | Description |
|---|---|
-f |
Force - Force update: reinstall all scripts regardless of version. Without -f, scripts are only updated when the GitHub version is newer than the local version. |
-h |
Help - Show this help message and exit. |
What it does
- Prompts for confirmation and your password (for writing to
/usr/local/bin/) - Downloads the latest scripts from the GitHub
mainbranch to a temporary directory - For each script, compares the version in the downloaded file against the installed version
- Only replaces a script if the downloaded version is newer (semantic version comparison) unless the -f option is used
- Reports which scripts were updated, skipped (already up to date), or failed
- 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.
Update checks
A helper script is provided jddev-checkupdate that automatically checks once per day if updates are available.