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!
Really appreciate this! I used your script + https://codemagic.io/ (which runs on m1 macs by default) to get myself a prebuilt binary:
https://github.com/ciiqr/jq-macos-arm