Using WP-CLI : A Command line interface for WordPress

WP-CLI – A command line interface for WordPress is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installs and much more, without using a web browser.

Setting up path for mysql command (For MAC OS Terminal)
export PATH=$PATH:/Applications/MAMP/bin/apache2/bin/mysql

Configure wp-config.php file at core WordPress
wp core config --dbname=woo --dbuser=root --dbpass=root --dbhost=

Start installation of WordPress for your domain/hostname
wp core install --url=http://nishant.local --title=Woo --admin_user=username_here --admin_password=password_here --admin_email=mail@nishant.local

Search plugins which are freely available at community
wp plugin search plugin_slug

Install plugin from using slug
wp plugin install plugin_slug

Install plugin from using slug and activate
wp plugin install plugin_slug --activate

Remove already install plugin from WordPress site
wp plugin delete plugin_slug

Nishant Vaity

I am Software Engineer, Technology Mentor & Entrepreneur. I am passionate about the technologies I use and always eager to share & learn more from that passion. I am an experienced Software Engineer with 8+ years of experience in coding high-traffic websites. Proficient in HTML, JavaScript, jQuery, CSS with LAMP / MAMP / WAMP Stack. Contributor for WordPress open source plugins and Translator (Marathi) for WordPress 4.5.x.

%d bloggers like this: