pkg.soopen package index

brew / 排名 6059

使用 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gq可执行文件已索引可执行文件从本地可执行文件索引发现。
graphqurl可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本2.0.0
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:graphqurl
版本2.0.0
软件包管理器Homebrew
主页https://github.com/hasura/graphqurl
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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-58.fc45

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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
zypper92%

gq 1.2.3-94.7

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation