🍺 BREW Explorer

← all formulae

jq-lsp

brew install jq-lsp v0.1.17 MIT

Jq language server

12
30-day installs · #8006
36
90-day · #8183
362
365-day · #5874
127
★ GitHub stars · updated 6mo ago

Build dependencies

go

GitHub topics

emacs jq lsp neovim vscode

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "go"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Jq language server",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:39:04+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "jq-lsp",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-02-12T14:36:38Z",
  "github_readme_excerpt": "# jq-lsp\n\njq language server.\n\nYou probably want to use this via one of these:\n- [vscode-jq](https://github.com/wader/vscode-jq)\n- neovim using [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#jqls) and [mason.nvim](https://github.com/williamboman/mason.nvim)\n- [Emacs lsp-mode](https://github.com/emacs-lsp/lsp-mode)\n- [helix](https://github.com/helix-editor/helix) (since 25.01)\n- [IntelliJ with LSP4IJ](https://github.com/redhat-developer/lsp4ij/blob/main/docs/user-defined-ls/jq-lsp.md)\n\nIt can currently do:\n- Syntax checking\n- Error on missing function and binding\n- Goto definition of function and binding\n- Auto complete function and binding\n- Include/Import support\n- Hover definition of function\n- Hover documentation for builtin\n- Function symbols per document\n- Additional builtins using  `.jq-lsp.jq`\n\n## Install\n\n```sh\n# install latest release\ngo install github.com/wader/jq-lsp@latest\n# install master\ngo install github.com/wader/jq-lsp@master\n\n# copy binary to $PATH\ncp \"$(go env GOPATH)/bin/jq-lsp\" /usr/local/bin\n\n# build binary from cloned repo\ngo build -o jq-lsp .\n```\n\n## Additional builtins using `.jq-lsp.jq`\n\nTo make jq-lsp aware of additional builtin function and variables you can use a `.jq-lsp.jq` file. The file is a normal jq file that is included automatically in each file.\n\nThis `.jq-lsp.jq` file add a function `fetch` and the variable `$OPTIONS`:\n```jq\n# function body is ignored but has to be valid jq\ndef fetch: empty;    # adds function fetch/0\ndef $OPTIONS: empty; # adds variable $OPTIONS\n```\n\n## Development\n\n```sh\n# run all tests\ngo test -v ./...\n# run tests and update responses\ngo test -v ./... -update\n```\n\n`--eval` and `jsonrpc_call/2` can be used to generate test requests:\n```sh\n# call initialize\ngo run . --eval \u0027jsonrpc_call(\"initialize\"; {})\u0027 | go run .\n# call textDocument/didOpen with file test.jq\ngo run . --eval \u0027jsonrpc_call(\"textDocument/didOpen\"; {textDocument: {\"text\": (\"test.jq\" | readfile), uri: \"test.",
  "github_repo": "wader/jq-lsp",
  "github_stars": 127,
  "github_topics": [
    "emacs",
    "jq",
    "lsp",
    "neovim",
    "vscode"
  ],
  "homepage": "https://github.com/wader/jq-lsp",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 12,
  "installs_365d": 362,
  "installs_90d": 36,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "jq-lsp",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 8006,
  "rank_365d": 5874,
  "rank_90d": 8183,
  "raw_hash": "0bd4edaf9ace289a",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/j/jq-lsp.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.1.17",
  "versioned_formulae": [],
  "why_use_this": null
}