Yet another quick and easy jq installation on alpine linux. You can use it as a part of your Dockerfile as well.
Prerequisites
- Alpine Linux
- sudo access
Install JQ on Alpine Linux
Step 1. Update the Alpine system packages.
sudo apk update
Step 2. Install jq.
sudo apk add jq
Step 3. Verify the installation.
jq --help
Output:
jq - commandline JSON processor [version master-v20220328-1108-g836ca403de]
...
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.