Created
January 22, 2015 17:21
-
-
Save kamermans/c860ae5f3e2cdd49f4a3 to your computer and use it in GitHub Desktop.
Install jq (JSON Command Line processor)
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
#!/bin/bash -e | |
# This scripts installs jq: http://stedolan.github.io/jq/ | |
JQ=/usr/bin/jq | |
curl https://stedolan.github.io/jq/download/linux64/jq > $JQ && chmod +x $JQ | |
ls -la $JQ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@justinTM yes, you still need the
chmod +x
-part, butcurl
can already 'output to file' by itself, so there is no need to redirect the stdout to the file.