yq/mkdocs/index.md
2020-01-13 16:58:11 +11:00

634 B

yq

yq is a lightweight and portable command-line YAML processor

The aim of the project is to be the jq or sed of yaml files.

Install

On MacOS:

brew install yq

On Ubuntu and other Linux distros supporting snap packages:

snap install yq

On Ubuntu 16.04 or higher from Debian package:

sudo add-apt-repository ppa:rmescandon/yq
sudo apt update
sudo apt install yq -y

or, Download latest binary or alternatively:

GO111MODULE=on go get github.com/mikefarah/yq/v3

View on GitHub