wp-cli on AUR (Arch User Repository)

Last updated: November 23,2024

1. Install "wp-cli" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install wp-cli on Arch using YAY

$ yay -S wp-cli

* (Optional) Uninstall wp-cli on Arch using YAY

$ yay -Rns wp-cli

2. Manually Install "wp-cli" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone wp-cli's git locally

$ git clone https://aur.archlinux.org/wp-cli.git ~/wp-cli

c. Go to ~/wp-cli folder and install it

$ cd ~/wp-cli $ makepkg -si

3. Information about the wp-cli package on Arch User Repository (AUR)

ID: 1048888
Name: wp-cli
PackageBaseID: 81902
PackageBase: wp-cli
Version: 2.6.0-1
Description: A command-line tool for managing WordPress
URL: http://wp-cli.org/
NumVotes: 14
Popularity: 0.001764
OutOfDate:
Maintainer: 0x6d617474
FirstSubmitted: 1400265875
LastModified: 1646860545
URLPath: /cgit/aur.git/snapshot/wp-cli.tar.gz