Installation (WP-CLI)

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen


The project consists of only one phar file. Installation is a piece of cake. I put it in /opt by default:

cd /opt
sudo curl -O
sudo mv wp-cli.phar wp
sudo chmod o+x wp


wp --info

or just


Update WP-CLI

You can update WP-CLI using

 wp cli update

However, this didn't work, because the process doesn't have write access to /usr/local/bin. sudo wp cli update throws an error that it can't find the path.

Other solution: Reinstall. See elsewhere.