Menu
in , ,

How to install WP-CLI and PHP Composer in 3 Steps for Linux

WP-CLI PHP Composer

WP-CLI PHP Composer

When Trying to deploy LAMP/LEMP server to serve a WordPress CMS website, you can go right way to manage your WordPress in a professional way, by installing WP-CLI WordPress interface tool, and PHP Composer.

For any Linux distribution, you can run the following 3 steps to complete installation of the major WordPress and PHP CLI tools.

Installing WP-CLI

# curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
# php wp-cli.phar --info
# chmod +x wp-cli.phar
# mv wp-cli.phar /usr/local/bin/wp

Installing Composer

# curl -sS https://getcomposer.org/installer | php
# chmod +x composer.phar
# mv composer.phar /usr/local/bin/composer

Leave a Reply

Exit mobile version