macOS
brew install graphqurllocal Homebrew formula metadata
sudo port install gqMacPorts ports tree · net/gq/Portfile · source: api.github.com
brew
Curl for GraphQL with autocomplete, subscriptions and GraphiQL. Version 2.0.0 via Homebrew; verified from local package data.
install
brew install graphqurllocal Homebrew formula metadata
sudo port install gqMacPorts ports tree · net/gq/Portfile · source: api.github.com
nix profile install nixpkgs#graphqurlnixpkgs package indexes · pkgs/by-name/gr/graphqurl/package.nix · source: api.github.com
sudo dnf install gqFedora Rawhide package metadata · gq · source: dl.fedoraproject.org
sudo zypper install gqopenSUSE Tumbleweed package metadata · gq · source: download.opensuse.org
overview
Curl for GraphQL with autocomplete, subscriptions and GraphiQL
history
graphqurl is Hasura's curl-like CLI and JavaScript client for GraphQL. It provides the `gq` and `graphqurl` executables for sending queries, using headers and variables, running autocomplete from introspection, executing subscriptions, and exporting schemas.
Hasura built graphqurl to make GraphQL endpoint interaction feel closer to curl while preserving GraphQL-specific affordances such as introspection, query autocomplete, subscriptions, and schema export.
The v1.0 announcement emphasized reducing bundle size by moving away from Apollo Client for basic query and subscription work, positioning graphqurl as a lighter tool for users who wanted GraphQL requests without broader client-side caching machinery.
graphqurl's adoption is closely tied to Hasura users and to developers who need a terminal-friendly way to inspect or exercise arbitrary GraphQL endpoints. It is packaged by Homebrew and several other package managers under names such as `graphqurl` or `gq`.
Its README and npm package highlight two surfaces: a CLI for shell workflows and a Node/browser library through `createClient`. That dual identity made it useful both as a quick manual testing tool and as a small dependency for scripts.
The common CLI pattern is `gq ENDPOINT -H 'Authorization: Bearer <token>' -q 'query { ... }'`. Users can also omit the query and use TAB-driven autocomplete based on schema introspection.
For schema work, `gq <endpoint> --introspect` can emit GraphQL SDL or JSON. For realtime APIs, graphqurl can execute subscriptions and stream responses to stdout. Earlier documented workflows also exposed a local GraphiQL UI; the GitHub README notes that GraphiQL support was removed from version 2.0.0 onward.
graphqurl is the GraphQL answer to the perennial packaging question: why do I need a whole SDK to send one API request? It packages the 80 percent terminal workflow into a single executable while still understanding GraphQL concepts curl cannot infer.
It is also interesting because package managers expose both the long package name and the short `gq` executable, making it show up in CLI namespace conversations alongside generic HTTP clients, GraphQL IDEs, and API-specific CLIs.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gq | cli | global executable | |
graphqurl | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/hasura/graphqurl
install metadata
| Package key | brew:graphqurl |
|---|---|
| Version | 2.0.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/graphqurl |
| Homepage | https://github.com/hasura/graphqurl |
| Repository | https://github.com/hasura/graphqurl |
| Upstream docs | https://github.com/hasura/graphqurl#readme |
| License | Apache-2.0 |
| Source archive | https://registry.npmjs.org/graphqurl/-/graphqurl-2.0.0.tgz |
| Dependencies | node |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | graphqurl |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
graphqurl
nix profile install nixpkgs#graphqurlgq
sudo port install gqgq 1.3.4-56.fc44
Graphical LDAP directory browser and editor
http://sourceforge.net/projects/gqclient/
sudo dnf install gqgq 1.2.3-94.5
An LDAP Client for GTK
sudo zypper install gqsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.