graphql-cli
brew install graphql-cli
v4.1.0
MIT
Command-line tool for common GraphQL development workflows
22
30-day installs · #6528
73
90-day · #6341
431
365-day · #5460
2.0k
★ GitHub stars · updated 2mo ago
Runtime dependencies
GitHub topics
apollo
cli
graphql
schema
terminal
Links
- https://github.com/Urigo/graphql-cli
- GitHub: Urigo/graphql-cli
- Brew formula source: Formula/g/graphql-cli.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"node"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Command-line tool for common GraphQL development workflows",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:25+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "graphql-cli",
"github_default_branch": "master",
"github_last_commit_at": "2026-06-02T00:08:57Z",
"github_readme_excerpt": "# GraphQL CLI\n\n\n\n\n[](https://npmjs.org/package/graphql-cli \"View this project on npm\") [](https://the-guild.dev/discord)\n\nHelp us to improve new GraphQL CLI. Check out the new structure and commands below!\nFeel free to contact us in Discord channel. We would love to hear your feedback.\n\n## Features\n\n- Helpful commands to improve your workflows\n- Compatible with editors and IDEs based on [`graphql-config`](https://github.com/kamilkisiela/graphql-config)\n- Powerful plugin system to extend `graphql-cli` with custom commands\n\n## Install\n\nYou can install the CLI using `yarn` by running the following command. This will add the `graphql` binary to your path.\n\n```sh\nyarn global add graphql-cli\n```\n\nThe equivalent npm global install will also work.\n\n## Migration from 3.x.x to 4.x.x\n\n**Important: many aspects of GraphQL CLI syntax and structure have changed in 4.x.x.** Please check out the [Migration Guide](./docs/MIGRATION.md) to learn more.\n\n## Usage / Initialization\n\nAt the heart of a project created using GraphQL CLI is the GraphQL Config configuration file. For starters, this configuration lets the cd CLI tools know where all of the GraphQL documents and operations are. For more information about GraphQL Config, [you can click here to learn more](https://graphql-config.com/docs/introduction).\n\nThe most straightforward way to launch a GraphQL CLI-capable project with a working GraphQL Config setup is to use the `init` command from your desired workspace:\n\n```sh\nnpx graphql-cli init\n```\n\nAfter a series of questions from the command-prompt, the system will use the inputs and selected project templates to generate a working project complete with a GraphQL Config setup.",
"github_repo": "Urigo/graphql-cli",
"github_stars": 2019,
"github_topics": [
"apollo",
"cli",
"graphql",
"schema",
"terminal"
],
"homepage": "https://github.com/Urigo/graphql-cli",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 22,
"installs_365d": 431,
"installs_90d": 73,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "graphql-cli",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 6528,
"rank_365d": 5460,
"rank_90d": 6341,
"raw_hash": "a46c2a381da6b33f",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/g/graphql-cli.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "4.1.0",
"versioned_formulae": [],
"why_use_this": null
}