如要在 MAC 上使用 jq,可透過 HomeBrew 進行安裝。

1.png

brew install jq

2.png

安裝後可試著查驗版本確認安裝無誤。

jq –version

3.png