GetPageSpeed Extras

wp-cli

How to install wp-cli on Amazon Linux

The command line interface for WordPress

License: MIT https://wp-cli.org/

Availability

Distro aarch64 noarch x86_64 Version
Amazon Linux 2023 2.9.0
Amazon Linux 2012.03 2.5.0
Amazon Linux 2 2.9.0

Description

WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installs and much more, without using a web browser.

Built for Amazon Linux.

Install

wp-cli on Amazon Linux 2, 2012.03, 2023

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install wp-cli

Package downloads require an active GetPageSpeed subscription — one repository for wp-cli and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install wp-cli on Amazon Linux?

Add the GetPageSpeed repository, then install the wp-cli package with your system package manager.

Which Amazon Linux versions is wp-cli available for?

wp-cli is available for Amazon Linux 2, 2012.03, 2023.

Subscribe