Last active
May 13, 2021 18:35
-
-
Save atomize/f8b075f495c75e8f4039b2f7fee3ef1e to your computer and use it in GitHub Desktop.
Install jq for 64bit Linux via cURL
This file contains hidden or 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
#!/bin/bash -e | |
# This scripts installs jq if it is not installed: http://stedolan.github.io/jq/ | |
if ! command -v jq &> /dev/null | |
then | |
echo "jq could not be found... installing" | |
JQ=/usr/bin/jq | |
curl https://stedolan.github.io/jq/download/linux64/jq > $JQ && chmod +x $JQ | |
ls -la $JQ | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment