Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, dnf, MacPorts, zypper 安装 graphqurl

查看 graphqurl 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install graphqurl

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gq

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

Linux

Nix已验证 · 92%
nix profile install nixpkgs#graphqurl

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

Fedora dnf已验证 · 92%
sudo dnf install gq

Fedora Rawhide package metadata · gq · 来源: dl.fedoraproject.org

openSUSE zypper已验证 · 92%
sudo zypper install gq

openSUSE Tumbleweed package metadata · gq · 来源: download.opensuse.org

概览

软件包摘要

Curl for GraphQL with autocomplete, subscriptions and GraphiQL

命令和别名

  • gq
  • graphqurl

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gqcli全局可执行文件
graphqurlcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.0.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/hasura/graphqurl

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/hasura/graphqurlnone 置信度

安装元数据

软件包元数据

软件包键brew:graphqurl
版本2.0.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/graphqurl
主页https://github.com/hasura/graphqurl
仓库https://github.com/hasura/graphqurl
上游文档https://github.com/hasura/graphqurl#readme
许可证Apache-2.0
源码归档https://registry.npmjs.org/graphqurl/-/graphqurl-2.0.0.tgz
依赖node
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

graphqurl

nix profile install nixpkgs#graphqurl
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式: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 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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