You probably want to go here.
curl https://getpipe.sh/install/yq?version=4.44.3 | bash -s -- --prefix $HOME/.local