2017-12-17 22:11:08 +00:00
|
|
|
# yq
|
|
|
|
yq is a lightweight and portable command-line YAML processor
|
2017-04-13 05:36:59 +00:00
|
|
|
|
|
|
|
The aim of the project is to be the [jq](https://github.com/stedolan/jq) or sed of yaml files.
|
|
|
|
|
2017-12-24 19:30:49 +00:00
|
|
|
## Install
|
2018-02-16 16:24:59 +00:00
|
|
|
On MacOS:
|
2017-12-24 19:30:49 +00:00
|
|
|
```
|
|
|
|
brew install yq
|
|
|
|
```
|
2018-02-16 16:24:59 +00:00
|
|
|
On Ubuntu and other Linux distros supporting `snap` packages:
|
|
|
|
```
|
|
|
|
snap install yq
|
|
|
|
```
|
2017-12-24 19:30:49 +00:00
|
|
|
or, [Download latest binary](https://github.com/mikefarah/yq/releases/latest) or alternatively:
|
|
|
|
```
|
2017-12-17 22:11:08 +00:00
|
|
|
go get github.com/mikefarah/yq
|
2017-04-13 05:36:59 +00:00
|
|
|
```
|
|
|
|
|
2017-12-17 22:11:08 +00:00
|
|
|
[View on GitHub](https://github.com/mikefarah/yq)
|