Install to /usr/local in README install instruction

This commit is contained in:
Romain Lebrun Thauront 2024-12-09 16:05:46 +01:00 committed by GitHub
parent 294a1709ad
commit f5e4316e84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,21 +76,21 @@ For instance, VERSION=v4.2.0 and BINARY=yq_linux_amd64
#### Compressed via tar.gz #### Compressed via tar.gz
```bash ```bash
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\ wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\
tar xz && mv ${BINARY} /usr/bin/yq tar xz && mv ${BINARY} /usr/local/bin/yq
``` ```
#### Plain binary #### Plain binary
```bash ```bash
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/bin/yq &&\ wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/local/bin/yq &&\
chmod +x /usr/bin/yq chmod +x /usr/loca/bin/yq
``` ```
#### Latest version #### Latest version
```bash ```bash
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\ wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/loca/bin/yq &&\
chmod +x /usr/bin/yq chmod +x /usr/loca/bin/yq
``` ```
### MacOS / Linux via Homebrew: ### MacOS / Linux via Homebrew: