How to install yq on Amazon Linux
Portable command-line YAML processor
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| Amazon Linux 2023 | — | — | — | |
| Amazon Linux 2012.03 | — | — | ✓ | 3.4.1 |
| Amazon Linux 2 | — | — | ✓ | 3.4.1 |
Description
A lightweight and portable command-line YAML processor The aim of the project is to be the jq or sed of yaml files.
Built for Amazon Linux.
Install
yq on Amazon Linux 2, 2012.03
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install yq
Package downloads require an active GetPageSpeed subscription — one repository for yq and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install yq on Amazon Linux?
Add the GetPageSpeed repository, then install the yq package with your system package manager.
Which Amazon Linux versions is yq available for?
yq is available for Amazon Linux 2, 2012.03.