macOS
brew install graphqurllocal Homebrew formula metadata
安装
brew install graphqurllocal Homebrew formula metadata
nix profile install nixpkgs#graphqurlnixpkgs package indexes · pkgs/by-name/gr/graphqurl/package.nix · 来源: api.github.com
sudo dnf install gqFedora Rawhide package metadata · gq · 来源: dl.fedoraproject.org
sudo zypper install gqopenSUSE Tumbleweed package metadata · gq · 来源: download.opensuse.org
概览
Curl for GraphQL with autocomplete, subscriptions and GraphiQL
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gq | cli | 全局可执行文件 | |
graphqurl | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/hasura/graphqurl
安装元数据
| 软件包键 | 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 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 gq来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.