Wordpress Command Line Installer
This is a command line downloader for Wordpress that downloads and extracts the latest version of Wordpress to the directory of your choosing., (*1)
How To Use
Prerequisites:, (*2)
- Composer (Local or global)
First, download the Wordpress downloader using Composer:, (*3)
composer global require "rappasoft/wordpress-command-line-downloader", (*4)
Make sure to place the ~/.composer/vendor/bin directory (or the equivalent directory for your OS) in your PATH so the wordpress executable can be located by your system., (*5)
Once installed, the wordpress new command will create a fresh Wordpress installation in the directory you specify., (*6)
If you leave the directory out it will install in the current working directory., (*7)
For example:, (*8)
wordpress new mywebsite, (*9)
Will install in a new folder called mywebsite using the current working directory as the base., (*10)