Automic VaultAutomic Vault

brew

graphql-cli を Homebrew でインストール

graphql-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install graphql-cli

local Homebrew formula metadata

概要

パッケージ概要

Command-line tool for common GraphQL development workflows

コマンドとエイリアス

  • graphql

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2019: Prisma announced transfer of graphql-cli and related libraries to The Guild.
  • 2019: The Guild described a rewritten, extensible GraphQL CLI.
  • 2020: GraphQL CLI 4.0 was released with a restructured project setup.
  • 2020: GraphQL CLI 4.1 added template and ecosystem-tooling integration improvements.

Related projects

  • GraphQL Config supplies the configuration model used by GraphQL CLI.
  • GraphQL Code Generator and GraphQL Inspector are explicitly integrated into the GraphQL CLI 4.1 workflow.
  • Prisma, GraphQL Import, and GraphQL Binding are part of the same historical handoff described by Prisma and The Guild.

セキュリティ状態

リスクレベル: グリーン

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 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
.graphqlrc.yml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
graphqlcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版4.1.0
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/Urigo/graphql-cli

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:graphql-cli
バージョン4.1.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/graphql-cli
ホームページhttps://github.com/Urigo/graphql-cli
リポジトリhttps://github.com/Urigo/graphql-cli
上流ドキュメントhttps://github.com/Urigo/graphql-cli#readme
ライセンスMIT
ソースアーカイブhttps://registry.npmjs.org/graphql-cli/-/graphql-cli-4.1.0.tgz
依存関係node
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegraphql-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment