Home WebServer PanelHestiaCP How to install WP CLI on HestiaCP

How to install WP CLI on HestiaCP

by Thạch Phạm
Published: Last Updated on

In today’s article, AZDIGI will guide you to install WP CLI on HestiaCP with some simple steps. Let’s follow along.

db WP CLIPackages e1559297702143

I. Overview

WP-CLI is a set of tools that help developers easily manage installation packages for WordPress websites. With WP-CLI, developers can perform backend tasks easily through the command line.

The tasks that WP-CLI supports can be listed as follows:

  • Install, set up, update and remove themes, plugins, widgets.
  • Manage posts and comments on the page.
  • Manage uploaded media files.
  • Manage menus.
  • Manage user list.
  • Manage cron jobs.
  • Manage site options.

II. Install WP CLI on HestiaCP

To install WP CLI on HestiaCP, follow these 2 steps.

Step 1: SSH login to your server

To install WP CLI on HestiaCP, we first need to SSH into your VPS/server as root. If you don’t know how to SSH into your VPS/Server, you can refer to the following tutorial:

Step 2: Install WP CLI on HestiaCP

To install WP CLI on HestiaCP, you need to run the following commands:

AZDIGI Tutorial
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
sudo mv wp-cli.phar /usr/local/bin/wp
wp help --allow-root

Below is an illustration of the process of installing WP CLI on HestiaCP. Please refer to it and see if it’s the same as you.

install WP CLI on HestiaCP

Note: Because you are running as root, you need to add the option –allow-root to run.

Some illustrations after installing WP CLI on HestiaCP:

Check out the plugin library

install WP CLI on HestiaCP

Check the list of users

install WP CLI on HestiaCP

To learn more about how to use WP-CLI, please refer to the following documents.


Hopefully, this article will help you manage your WordPress website safely and quickly.

In the following articles, AZDIGI will guide you through setting up and installing other advanced options and optimizing your website. Let’s stay tuned!

If you need assistance, you can contact support in the ways below:

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign