Home > Mobile >  How to instal JQ without homebrew?
How to instal JQ without homebrew?

Time:03-09

I use Mac , how can I install JQ without home brew ? I installed 'jq-osx-amd64 'and executed this comments :

chmod  x ~/Downloads/*jq-osx-amd64* cp ~/Downloads/jq-osx-amd64 /usr/local/bin

After that when I try the open/execute jq-osx-amd64 the terminal pop up with :

“jq-osx-amd64” cannot be opened because the developer cannot be verified.

I opened the system preferences and allowed it but still doesn’t accept the permission and I couldn’t use the jq. Any help will be appreciated . Thank you

CodePudding user response:

You'll need to let your Mac know that you trust the developer of jq-osx-amd64


After the cannot be opened because the developer cannot be verified, follow these steps:

  1. Open settings

  2. Go to Security & Privacy

  3. Go to the General Tab

  4. You'll see something like

    jq-osx-amd64 was blocked from use bevause it is not from an identified developer

    To Allow this, press the Allow Anyway button

    enter image description here

  5. Invoke jq-osx-amd64 once again from your terminal

  6. Accept the unknown developer popup by pressing Open
    Picture showing popup

  7. Invoke jq-osx-amd64 once again

CodePudding user response:

You could use macports or 0install or asdf or ... See https://github.com/stedolan/jq/wiki/Installation

  • Related