Created
June 9, 2021 21:16
-
-
Save benjaminwood/5aeb14cda65d78d73038699a66020b30 to your computer and use it in GitHub Desktop.
Install latest stripe cli from github releases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This assumes jq is installed already. | |
# The stripe binary will be installed at /bin/stripe | |
curl --silent "https://api.github.com/repos/stripe/stripe-cli/releases/latest" \ | |
| jq -r '.assets[] | select(.name | endswith("linux_x86_64.tar.gz")).browser_download_url' \ | |
| wget -qi - -O - \ | |
| sudo tar -xzvf - -C /bin stripe > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment