Note: as of jq v1.7
the project offers pre-built native macOS releases for ARM64 based architechtures.
A quick n' dirty Bash script to install the following:
autoconf
.automake
.libtool
jq
- from source.
The aim/need was to create an M1 (ARM64) compile of jq
- which isn't wasn't (until September 2023) available via releases and avoid using Homebrew.
Tested successfully under a Apple M1 Pro
MacBook running macOS Monterey 12.4
.
Will likely require Xcode CLI tools. Can be installed via the following:
$ xcode-select --install
Enjoy!
jq 1.7 released a few weeks back with proper apple silicon support! π
https://github.com/jqlang/jq/releases/tag/jq-1.7