GitHub
05/19/2026, 8:19 AM# Install yq from releases (<https://github.com/mikefarah/yq>)
function install_yq() {
local __arch="$(uname -i)"
if [[ "$__arch" == "aarch64" ]]; then
__arch="arm64"
fi
local __file="yq_linux_$__arch"
local __url="<https://github.com/mikefarah/yq/releases/latest/download/$__file>"
if ! [[ -f "/usr/bin/yq" ]]; then
log "Installing yq"
sudo curl -sL "$__url" -o /usr/bin/yq
sudo chmod a+x /usr/bin/yq
yq --version
else
yq --version
fi
}
uname -i
x86_64
is creating a url with x86_64 in it. there is no patching matching that url
https://github.com/mikefarah/yq/releases/latest/download/x86_64 - 404's
jmpsec/osctrlGitHub
05/19/2026, 12:59 PM