No results
2
7. Utilities
René Kreijveld edited this page 2026-05-31 08:43:28 +02:00
Table of Contents
Utilities
jlatest
Download and extract a Joomla release into the current directory. Used automatically by jaddsite -j, but can also be run manually.
Usage
jlatest [-v <joomla_version>] [-u] [-s] [-h]
Options
| Option | Description |
|---|---|
-v <version> |
Download a specific version, e.g. 5.2.3 (minimum: 3.10.0) |
-u |
Prompt for a custom download URL |
-s |
Silent - suppress progress output |
-h |
Display help |
What it does
- Downloads the specified Joomla release (or the latest version if no version is given) to the current directory
- Extracts the zip archive
- Removes the downloaded zip file
- Sets file permissions to
644and folder permissions to755
Examples
Download the latest Joomla into the current folder:
cd ~/Development/sites/mysite
jlatest
Download a specific version:
jlatest -v 5.2.3
setrights
Set correct file and folder permissions recursively in the current directory.
Usage
setrights [-s] [-h]
Options
| Option | Description |
|---|---|
-s |
Silent - suppress all messages |
-h |
Display help |
What it does
- Sets all files to
644(-rw-r--r--) - Sets all folders to
755(-rwxr-xr-x)
Runs recursively from the current directory.
Example
cd ~/Development/sites/mysite
setrights
jddev
Display an overview of all available ddev-joomla scripts and their command-line parameters.
Usage
jddev
Example output
jddev 1.3, written by René Kreijveld.
Overview of all available ddev-joomla scripts.
jddev-update -- Update all ddev-joomla scripts from the GitHub main branch.
Usage: jddev-update
jaddsite -- Add a new Joomla site to DDEV.
Usage: jaddsite -n <sitename> [-p <php_version>] [-w <webserver>] [-j] [-v] [-s] [-h]
...
Use this as a quick reference without leaving your terminal.