Install this version:
emerge -a =app-admin/wp-cli-2.11.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-admin/wp-cli-2.11.0
Or alternatively:
emerge --autounmask-write -a =app-admin/wp-cli-2.11.0
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License
EAPI=8
DESCRIPTION="The command line interface for WordPress"
HOMEPAGE="https://wp-cli.org/"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.phar"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
DEPEND="dev-lang/php:*"
RDEPEND="${DEPEND}"
src_install() {
newbin "${DISTDIR}/${A}" wp
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | wp-cli-2.11.0.phar | 7048108 bytes | https://github.com/wp-cli/wp-cli/releases/download/v2.11.0/wp-cli-2.11.0.phar |