Skip to content

Instantly share code, notes, and snippets.

@maximveksler
Forked from kamermans/install_jq.sh
Last active March 5, 2024 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maximveksler/ae3ad5a4cf04aadc1527d8216ee58fdd to your computer and use it in GitHub Desktop.
Save maximveksler/ae3ad5a4cf04aadc1527d8216ee58fdd to your computer and use it in GitHub Desktop.
Install jq (JSON Command Line processor)
#!/bin/bash -e
# This scripts installs jq: http://stedolan.github.io/jq/
JQ=/usr/bin/jq
curl -o "$JQ" -L https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-amd64 && chmod +x $JQ
echo "$($JQ --version) installed."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment