latest version
curl -s https://api.github.com/repos/atotto/fileserver/releases/latest | jq '.tag_name' -r curl -s https://api.github.com/repos/atotto/fileserver/releases/latest | grep tag_name | cut -d "\"" -f 4
download
curl -sL -o fserv "https://github.com/atotto/fileserver/releases/download/$(curl -s https://api.github.com/repos/atotto/fileserver/releases/latest | jq '.tag_name' -r)/amd64.fserv"