How to Install and Uninstall wp-cli Package on openSUSE Leap

Last updated: November 23,2024

1. Install "wp-cli" package

Please follow the step by step instructions below to install wp-cli on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install wp-cli

2. Uninstall "wp-cli" package

Please follow the guidance below to uninstall wp-cli on openSUSE Leap:

$ sudo zypper remove wp-cli

3. Information about the wp-cli package on openSUSE Leap

Information for package wp-cli:
-------------------------------
Repository : Main Repository
Name : wp-cli
Version : 2.7.1-bp155.1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 6.4 MiB
Installed : No
Status : not installed
Source package : wp-cli-2.7.1-bp155.1.4.src
Upstream URL : https://wp-cli.org/
Summary : WordPress command-line interface
Description :
WP-CLI is the command-line interface for WordPress. You can update plugins,
configure multisite installations and much more, without using a web browser.