macOS
brew install graphql-clilocal Homebrew formula metadata
brew
Command-line tool for common GraphQL development workflows. Version 4.1.0 via Homebrew; verified from local package data.
install
brew install graphql-clilocal Homebrew formula metadata
overview
Command-line tool for common GraphQL development workflows
history
GraphQL CLI is a Node-based command-line tool for common GraphQL development workflows. It wraps project initialization, GraphQL Config, plugin commands, schema handling, code generation, and related GraphQL ecosystem tools behind the `graphql` command.
The package originated in the Prisma/Graphcool-era GraphQL tooling ecosystem and later moved into The Guild's maintenance orbit along with graphql-config, graphql-import, and graphql-binding. Prisma's handoff announcement explicitly named graphql-cli among the libraries transferred to The Guild.
The Guild then rebooted GraphQL CLI as an extensible, plugin-oriented tool. The project documentation for version 4 describes a restructured setup based around `.graphqlrc.yml`, a unified GraphQL Config file, and per-command packages.
GraphQL CLI's adoption was tied to the JavaScript GraphQL ecosystem's need for a single command that could initialize projects, read schemas and documents, run code generation, and host schema-inspection workflows.
Version 4.0 changed the configuration model from older `.graphqlconfig` and endpoint/schemaPath assumptions toward `.graphqlrc.yml` and the newer GraphQL Config shape. Version 4.1 added starter-template improvements and stronger integration with GraphQL Code Generator and GraphQL Inspector.
The main command is `graphql`. Users initialize a project with `graphql init` or `npx graphql-cli init`, then keep schema and document paths in `.graphqlrc.yml`.
The plugin model lets commands such as code generation live in separate packages and read the same GraphQL Config. The migration guide is important for older users because it documents removed commands and changed configuration names.
GraphQL CLI is a snapshot of a specific GraphQL tooling moment: Prisma-era tools, The Guild maintenance, GraphQL Config standardization, and an attempt to make a single extensible CLI sit above many competing GraphQL stacks.
For package maintainers, it is notable as a Homebrew formula for a Node CLI whose upstream ecosystem also expects npm or yarn global installation. That split often exposes how JavaScript CLIs move between language package managers and system package managers.
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.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.graphqlrc.ymlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
graphql | 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/Urigo/graphql-cli
install metadata
| Package key | brew:graphql-cli |
|---|---|
| Version | 4.1.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/graphql-cli |
| Homepage | https://github.com/Urigo/graphql-cli |
| Repository | https://github.com/Urigo/graphql-cli |
| Upstream docs | https://github.com/Urigo/graphql-cli#readme |
| License | MIT |
| Source archive | https://registry.npmjs.org/graphql-cli/-/graphql-cli-4.1.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 | graphql-cli |
| 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 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.