• Solution. Support. Expertise
  • +43 664 635 1238
  • +1 647-947-4502
  • info@tdwebservices.com
TDWS.3.0-Logo-Low-ResTDWS.3.0-Logo-Low-ResTDWS Apple TouchTDWS Apple Touch
  • Hosting
    • Hosting
      • Business Hosting
      • Enterprise Hosting
      • TDWS VPS
      • Managed WordPress Hosting
      • Highly Optimized WordPress Hosting
      • Laravel Hosting
      • Odoo Hosting
      • Moodle Hosting
      • TDWS Reseller Plans
    • E-Commerce Solutions
      • Managed WooCommerce Hosting
      • Highly Optimized WooCommerce Hosting
      • Magento Hosting
      • PrestaShop Hosting
      • OpenCart Hosting
    • Dedicated Servers
      • Gaming Servers
    • TDWS Global Monitoring System
      • Server Monitoring
      • Network Monitoring
      • Application Monitoring
      • Database Monitoring
      • Cloud Monitoring
      • Container Monitoring
      • Storage Monitoring
  • Cloud
    • TDWS Cloud
      • TDWS Cloud Servers
      • TDWS CloudSites
      • TDWS Box Cloud
      • TDWS Virtual Private Cloud
      • TDWS Cloud Drive
    • TDWS Private Cloud
      • KVM Hypervisor Private Cloud
      • Xen Hypervisor Private Cloud
      • Microsoft Hyper-V Private Cloud
      • VMware ESXi Private Cloud
      • VMware Public Cloud Servers
    • Services
      • DB as a Service
      • Disaster Recovery as a Service
    • Other
      • TDWS Cloud Infrastructure
      • TDWS Hybrid Cloud
  • Insights
    • Small Business
    • Knowledge Base
    • Cloud Computing
    • Expert Opinion
    • Industry debates
    • Thought Leadership
  • About Us
    • Why Us
    • Data Centers
    • Affiliate
    • TDWS Channel Partners
    • Contact Us
    • TDWS Customer Reviews
    • TDWS Video
    • Legal
      • TD Web Services Acceptable Use Policy (“AUP”)
      • TDAG DMCA Notice Policy
      • TDAG Privacy Policy
      • Master Service Agreement
      • Service Level Agreement
Login
✕
Things to do in your first after installing Linux server
6 March 2021
Matching Public Cloud Offerings on a TDWS Box Cloud: On-Demand Private Cloud
12 April 2021

HOW TO INSTALL WP-CLI?

Published by TDWS Technical Support on 4 April 2021
Categories
  • Q&A
Tags
  • WordPress
  • Wordpress Help
  • WordPress Optimization

WP-CLI is an open-source suite of command-line tools for managing and administering WordPress. Most functions that can be done in the WordPress Dashboard via a web browser can be completed by typing a command at a prompt.

To utilize this feature, TDWS Cloud Server/VPS servers will require WP-CLI to be installed. This can be done with just a few simple commands in SSH.

INSTRUCTIONS

  1. Connect to your server through SSH.
  2. Download wp-cli by running the following command:
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

3. Make wp-cli executable by running:

chmod +x wp-cli.phar

4. This next command will allow us to easily use wp-cli by typing “wp”:

sudo mv wp-cli.phar /usr/local/bin/wp

5. That’s it! WP-CLI should now be installed.

To check/update your wp-cli version in the future, you can run:

wp cli update

RESOURCES

  • WP-CLI Handbook (WordPress Developer Site)
Share
3
TDWS Technical Support
TDWS Technical Support

Related posts

man in white dress shirt sitting on black rolling chair while facing black computer set and smiling

Photo by Andrea Piacquadio on Pexels.com

6 March 2023

The Power of Plus Addressing


Read more
15 June 2021

Why Upgrade Your Site to PHP 7.x


Read more
11 June 2019

What is Plus Addressing?


Read more
12 March 2019

How to Switch Your Domain Name Without Damaging Your Site’s SEO


Read more
10 March 2019

How to Use the cPanel/WHM Transfer Accounts Tool


Read more
6 June 2018

How to Change WordPress password using phpMyAdmin or MySQL


Read more
21 May 2018

How To Modify your hosts file


Read more
13 April 2018

How to Transfer WordPress Site to a New Domain


Read more

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Our Services

  • Business Hosting
  • TDWS VPS
  • Dedicated Servers
  • E-Commerce Solutions
  • Enterprise Hosting
  • Managed WordPress Hosting
  • Highly Optimized WordPress Hosting
  • SSL Certificates

TDWS Cloud

  • TDWS Cloud Servers
  • TDWS CloudSites
  • VMware Public Cloud Servers
  • VMware ESXi Private Cloud
  • Microsoft Hyper-V Private Cloud
  • TDWS Virtual Private Cloud
  • Hybrid Cloud
  • Cloud Infrastructure

Recent Posts

  • The Power of Plus Addressing
  • Why an LMS is Essential for Selling Courses Online
  • CentOS Stream vs AlmaLinux: Which Distribution is Right for You?
  • De-Risk Your IT Strategy with TDWS High-Performance Cloud
  • Speeding Up Success: How Power Day Sale Improved Website Performance and Increased Conversions

About Us

  • About Us
  • Why Us
  • Affiliate
  • Contact Us
  • Data Centers
© 2021 TD Web Services. All Rights Reserved.