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 privileges
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 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.