Installing JQ on Mac by command-line

+1 vote

What is the most efficient way of installing JQ on Mac (el capitan). 

I have the code downloaded to my mac but I would like to know how I can install and operate the via the command line.

Dec 6, 2018 in Data Analytics by Upasana
• 8,620 points
5,828 views

1 answer to this question.

0 votes

On a mac, any application can be installed with brew. To know the exact command, you can search your package on https://brewinstall.org and it will give you the set of commands needed to install a particular package.

STEP 1 : Open the terminal and install brew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

STEP 2 : Install jq

brew install jq
answered Dec 6, 2018 by Shubham
• 13,490 points

edited Dec 12, 2018 by Shubham

Related Questions In Data Analytics

0 votes
1 answer

Read command line parameters from an R script

Here's an example to explain : Two files ...READ MORE

answered Apr 17, 2018 in Data Analytics by kappa3010
• 2,090 points
3,368 views
0 votes
1 answer

How can I print string and variable contents on the same line using R?

There are two options for doing so.  You ...READ MORE

answered May 9, 2018 in Data Analytics by zombie
• 3,790 points
1,650 views
0 votes
1 answer

How to add regression line equation and R2 on graph?

Below is one solution: # GET EQUATION AND ...READ MORE

answered Jun 1, 2018 in Data Analytics by DataKing99
• 8,240 points
6,480 views
0 votes
1 answer

How to pass command line arguments to run a Rscript

1. For taking an argument from the ...READ MORE

answered Aug 6, 2018 in Data Analytics by Anmol
• 1,780 points
7,692 views
0 votes
1 answer

How can I figure out if an R program was executed from the command line?

Try this code: if (interactive()) { print('Hello ...READ MORE

answered Jun 28, 2019 in Data Analytics by Zulaikha
• 910 points
414 views
0 votes
1 answer

How to Share the files from local system Mac Book to Edureka VM

Hey Satya, Hope you're doing great. Would you please ...READ MORE

answered Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
634 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP