mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-14 07:08:06 +00:00
27 lines
617 B
Markdown
27 lines
617 B
Markdown
# yq
|
|
yq is a lightweight and portable command-line YAML processor
|
|
|
|
The aim of the project is to be the [jq](https://github.com/stedolan/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](https://github.com/mikefarah/yq/releases/latest) or alternatively:
|
|
```
|
|
go get gopkg.in/mikefarah/yq.v2
|
|
```
|
|
|
|
[View on GitHub](https://github.com/mikefarah/yq)
|