See blog post: https://blog.adamhancock.co.uk/portx/
sudo wget -q `curl -s https://api.github.com/repos/adamhancock/portx/releases/latest | jq -r '.assets[] | select(.name == "portx-linux") |.browser_download_url'` -O /tmp/portx && chmod +x /tmp/portx && mv /tmp/portx /usr/local/bin/portx