From f5e4316e846815910fefe2a9d8a74bcbc7265e58 Mon Sep 17 00:00:00 2001 From: Romain Lebrun Thauront Date: Mon, 9 Dec 2024 16:05:46 +0100 Subject: [PATCH] Install to /usr/local in README install instruction --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 582ab1556a..962b42575e 100644 --- a/README.md +++ b/README.md @@ -76,21 +76,21 @@ For instance, VERSION=v4.2.0 and BINARY=yq_linux_amd64 #### Compressed via tar.gz ```bash 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 ```bash -wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/bin/yq &&\ - chmod +x /usr/bin/yq +wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/local/bin/yq &&\ + chmod +x /usr/loca/bin/yq ``` #### Latest version ```bash -wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\ - chmod +x /usr/bin/yq +wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/loca/bin/yq &&\ + chmod +x /usr/loca/bin/yq ``` ### MacOS / Linux via Homebrew: