--- description: yq is a lightweight and portable command-line YAML processor --- # Yq ### Install[ΒΆ]() On MacOS: ```text brew install yq ``` On Ubuntu and other Linux distros supporting `snap` packages: ```text snap install yq ``` On Ubuntu 16.04 or higher from Debian package: ```text sudo add-apt-repository ppa:rmescandon/yq sudo apt update sudo apt install yq -y ``` or, [Download latest binary](https://github.com/mikefarah/yq/releases/latest) or alternatively: ```text GO111MODULE=on go get github.com/mikefarah/yq/v2 ``` [View on GitHub](https://github.com/mikefarah/yq)