Skip to content

Instantly share code, notes, and snippets.

@fabriziosalmi
Created August 1, 2024 20:08
Show Gist options
  • Save fabriziosalmi/34ba4378fbc541a8b3c266b6a769ea1f to your computer and use it in GitHub Desktop.
Save fabriziosalmi/34ba4378fbc541a8b3c266b6a769ea1f to your computer and use it in GitHub Desktop.
yq setup
#!/bin/bash
# requirements: wget, sudo
VERSION=v4.9.6
BINARY=yq_linux_amd64
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O yq
sudo mv yq /usr/local/bin/yq
sudo chmod +x /usr/local/bin/yq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment