Forrest logo
back to the wp tool

wordpress:versions:install

Download an old version of WordPress X.X.X using WP-CLI
$ wp core download --version=${version}
try on your machine

The command "wp core download --version=${version}" is a command used in the WordPress Command Line Interface (WP-CLI) to download a specific version of the WordPress core software.

Here's a breakdown of the command:

  • "wp" refers to the WP-CLI command itself.
  • "core download" is the action being performed, which is downloading the WordPress core files.
  • "--version=${version}" is an argument passed to the command. The "${version}" part is a placeholder that needs to be replaced with the actual version number you want to download.

By specifying the version number, you can download a specific release of the WordPress core software instead of the latest one. This can be useful when you want to work with a particular version, test compatibility with plugins/themes, or replicate an existing WordPress installation.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • How to install old WordPress versions?
back to the wp tool