• I am writing a linux script to automate the installation of WordPress and some of the plugins I use in each WordPress I install. For WordPress I use

    wget -O latest.tar.gz “https://wordpress.org/latest.tar.gz”

    to download the most up to date version of wordpress then extract it. Which works as expected.

    Is there an equivalent to latest.tar.gz for plugins or does anyone know a way to use wget to down load the most up to date version of a particular plugin and ignore the numbers on the end of the plugin name and get the most up to date version?

Viewing 1 replies (of 1 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    There isn’t, but have you considered installing and using wp-cli?

    http://wp-cli.org/

    That way you can use wp plugin install <plugin-slug> and you’ll get the latest version.

    Updating all of your plugins to the latest version is just as simple as this command.

    wp plugin update --all

Viewing 1 replies (of 1 total)

The topic ‘wget plugins install script’ is closed to new replies.