How to Use the jq Module System with -L and --library-path: Complete Guide

The jq module system lets you split programs into reusable .jq files imported via import or include, while the -L (or --library-path) command-line option prepends custom directories to the module search chain, checked before built-in defaults like ~/.jq and $ORIGIN/../lib/jq.

jq includes a built-in module system that enables you to organize complex JSON processing logic into reusable components. Understanding how the jq module system with -L --library-path configures module discovery is essential for managing

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →