An important “non-news” for WordPress site developers. Have you heard about the command-line utility called “wp-cli”? I’ve been working with WP for a long time, but only found out about it about six months ago.
wp-cli is an amazing tool for developers who manage a bunch of WP sites on their local machine (and not just local ones). Wp-cli allows you to work with WordPress via the command line, minimizing the time you spend on installing the engine, updating it, as well as installing and updating themes and plugins for it.
To be honest, I haven't explored all of its features deeply, but I'll describe the basic functionality and capabilities.
Installation
All instructions are provided for Linux OS.
Download the phar archive with the utility to your machine:
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
Set execute permissions:
chmod +x wp-cli.phar
Move the file to your system’s program directory (to access it from anywhere):
sudo mv wp-cli.phar /usr/local/bin/wp
