Automic VaultAutomic Vault

brew

Install graphqurl with Homebrew, Nix, dnf, MacPorts, zypper

Curl for GraphQL with autocomplete, subscriptions and GraphiQL. Version 2.0.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install graphqurl

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gq

MacPorts ports tree · net/gq/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#graphqurl

nixpkgs package indexes · pkgs/by-name/gr/graphqurl/package.nix · source: api.github.com

Fedora dnfverified · 92%
sudo dnf install gq

Fedora Rawhide package metadata · gq · source: dl.fedoraproject.org

openSUSE zypperverified · 92%
sudo zypper install gq

openSUSE Tumbleweed package metadata · gq · source: download.opensuse.org

overview

Package summary

Curl for GraphQL with autocomplete, subscriptions and GraphiQL

Commands and aliases

  • gq
  • graphqurl

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • Initial package era: graphqurl appeared as a Hasura-maintained CLI and JavaScript client for GraphQL endpoint access.
  • v1.0: Hasura announced a lighter implementation and promoted CLI queries, local GraphiQL, subscriptions, browser/Node use, and schema export.
  • v2.0.0: The project removed GraphiQL UI support, with the README directing users to v1.0.3 for that feature.

Related projects

  • Hasura GraphQL Engine is the ecosystem project most closely associated with graphqurl.
  • curl is the conceptual model for graphqurl's terminal user experience.
  • GraphiQL is an adjacent UI workflow that graphqurl supported in earlier versions.
  • GraphQL Inspector and GraphQL CLI sit nearby as schema-management tools rather than request clients.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
gqcliglobal executable
graphqurlcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.0.0
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/hasura/graphqurl

install metadata

Package metadata

Package keybrew:graphqurl
Version2.0.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/graphqurl
Homepagehttps://github.com/hasura/graphqurl
Repositoryhttps://github.com/hasura/graphqurl
Upstream docshttps://github.com/hasura/graphqurl#readme
LicenseApache-2.0
Source archivehttps://registry.npmjs.org/graphqurl/-/graphqurl-2.0.0.tgz
Dependenciesnode
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegraphqurl
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

graphqurl

nix profile install nixpkgs#graphqurl
  • normalized package name match
  • Matched by: Graphqurl
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gr/graphqurl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts94%

gq

sudo port install gq
  • installed executable or alias match
  • Matched by: Gq
MacPorts ports tree · api.github.com · MacPorts ports tree: net/gq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
dnf92%

gq 1.3.4-56.fc44

Graphical LDAP directory browser and editor

http://sourceforge.net/projects/gqclient/

sudo dnf install gq
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gq
  • 16 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: Gq
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper92%

gq 1.2.3-94.5

An LDAP Client for GTK

http://gq-project.org/

sudo zypper install gq
  • License: GPL-2.0-or-later
  • Category: Productivity/Networking/LDAP/Clients
  • Architecture: x86_64
  • Source Package: gq
  • 14 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: Gq
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment