Installing JQ on Mac by command-line

0 votes

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,490 points
870 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,270 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,010 points
388 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,690 points
23 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,100 points
250 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,620 points
86 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 in Data Analytics by Zulaikha
• 760 points
14 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
39 views
0 votes
1 answer