Skip to content

Latest commit

 

History

39 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

joomla-download

CI

Bash script to download and extract a specific version of Joomla.

Installation

Just download the script to a directory in your $PATH. For example:

wget https://raw.githubusercontent.com/PopArtDesign/joomla-download/refs/tags/v1.0/joomla-download \
    -O ~/.local/bin/joomla-download && chmod +x ~/.local/bin/joomla-download

Usage

Usage: joomla-download <path> [<version>]

Arguments:

  • <path> The directory where Joomla! will be downloaded and extracted.

  • <version> The specific version of Joomla! to download. Optional. If not provided, the latest stable version will be downloaded. Supports semantic versioning (e.g., 5.2.1), major.minor (e.g., 4.3), or major (e.g., 3). Alternatively, the version can be specified via the JOOMLA_VERSION environment variable.

Examples

# Download the latest version
joomla-download ~/projects/joomla

# Download precise version
joomla-download ~/projects/joomla 5.2.1

# Download the latest 4.3.x version (e.g. 4.3.4)
joomla-download ~/projects/joomla 4.3

# Download the latest 3.x version (e.g. 3.10.12)
joomla-download ~/projects/joomla 3

# Use current directory (downloads latest version)
joomla-download .

Setting a default version

You can set a default Joomla! version by exporting the JOOMLA_VERSION environment variable in your shell's configuration file (e.g., ~/.bashrc, ~/.zshrc). This will make the specified version the default when no version argument is provided to the joomla-download script:

export JOOMLA_VERSION="4.3"

Proxy Support

The joomla-download script uses curl to fetch Joomla! releases. If you are behind a proxy, curl will automatically respect standard proxy environment variables such as http_proxy, https_proxy, and no_proxy. Ensure these variables are correctly configured in your shell environment if you encounter network issues.

License

Copyright (c) Voronkovich Oleg. Distributed under the MIT.

About

Bash script to download and extract a specific version of Joomla

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages