Install WP-CLI

The wp-cli command-line utility allows you to manage your WordPress sites without going through the WordPress dashboard, much like Drush does for Drupal. To install Composer and wp-cli on Ubuntu 16.04: Install Composer (I’d recommend not doing this as root.) user@ubuntu# cd $HOME user@ubuntu# php -r "copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);" user@ubuntu# php -r "if (hash_file(‘SHA384’, ‘composer-setup.php’) === […]

Loading

Read More

Installing Drush 8

Previously I discussed how to install Drush 6.x for use with Drupal 7. Here we’ll install Drush 8 for Drupal 8, specifically using Ubuntu 16.04 Server. The recommended method is to install using PHP’s Composer. First we install Composer itself: root@ubuntu:/# php -r "copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);" root@ubuntu:/# php -r "if (hash_file(‘SHA384’, ‘composer-setup.php’) === ‘e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae’) { echo […]

Loading

Read More