README: add instructions for installing with MacPorts

This commit is contained in:
Herby Gillot 2020-10-19 02:17:47 -04:00 committed by Mike Farah
parent cd83d94b6a
commit 815edef86a

View File

@ -12,10 +12,17 @@ The aim of the project is to be the [jq](https://github.com/stedolan/jq) or sed
### [Download the latest binary](https://github.com/mikefarah/yq/releases/latest)
### MacOS:
Using [Homebrew](https://brew.sh/)
```
brew install yq
```
Using [MacPorts](https://www.macports.org/)
```
sudo port selfupdate
sudo port install yq
```
### Ubuntu and other Linux distros supporting `snap` packages:
```
snap install yq