# gatsby-cli を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:gatsby-cli
```

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

### macOS

- Homebrew (100%):

```sh
brew install gatsby-cli
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gatsby-cli
```

  証拠: nixpkgs package indexes: pkgs/by-name/ga/gatsby-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:gatsby-cli
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/gatsby-cli>
- **バージョン:** 5.16.0
- **ソース概要:** Gatsby command-line interface
- **ホームページ:** <https://www.gatsbyjs.com/docs/reference/gatsby-cli/>
- **上流ドキュメント:** <https://www.gatsbyjs.com/docs/reference/gatsby-cli/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://registry.npmjs.org/gatsby-cli/-/gatsby-cli-5.16.0.tgz>
- **最終更新:** 2026-06-22T14:03:24-07:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- gatsby (cli)
- gatsby (エイリアス)

## 依存関係

- node

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 5.16.0
- マネージャ更新日: 2026-06-22
- ローカルデータ: OK
- 上流リポジトリ: https://www.gatsbyjs.com/docs/reference/gatsby-cli/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

Gatsby CLI is the command-line front end for Gatsby, the React-based framework for building static, server-rendered, and hybrid websites. It is the package-manager-facing entry point for creating, developing, building, serving, cleaning, and inspecting Gatsby sites.

### プロジェクトの歴史

The Gatsby repository was created in May 2015, with early 0.x releases later that year. Gatsby v1 reached beta and stable release milestones in 2017, and the project subsequently moved through major framework releases while keeping the CLI in the monorepo as one of many npm-published packages.

The official README describes Gatsby as a free and open-source React framework that combines static-site generation with app-style React behavior. The repository notes that it is a Lerna-managed monorepo containing multiple packages, including `gatsby-cli`.

### 採用の歴史

The README points users to quickstarts, tutorials, plugins, starters, showcase sites, migration guides, release notes, and GitHub Discussions. It also exposes npm version and download badges for the main Gatsby package, reflecting Gatsby's package-centric ecosystem of starters and plugins.

### 使われ方

The CLI can be installed globally with `npm install -g gatsby-cli` or run with `npx`. Common commands include `gatsby new`, `gatsby develop`, `gatsby build`, `gatsby serve`, `gatsby clean`, `gatsby info`, and `gatsby repl`.

### パッケージ好きにとっての重要性

Gatsby CLI is significant because it made a large React/static-site ecosystem accessible through a single package command, tying together starters, plugins, GraphQL data loading, local development servers, and production builds. For package managers, it is the small executable facade over a much larger JavaScript framework and plugin graph.

### タイムライン

- 2015: Gatsby repository created.
- 2015: Early 0.x releases published.
- 2017: Gatsby v1 beta and v1 stable releases published.
- 2021: Gatsby v3.0.0 and v4.0.0 releases published.
- 2022: Gatsby v5.0.0 release published.

### Related projects

- Gatsby CLI is part of the Gatsby monorepo and is closely related to Gatsby starters, Gatsby plugins, React, GraphQL, Netlify deployment workflows, and the wider Gatsby documentation and showcase ecosystem.

### ソース

- <https://github.com/gatsbyjs/gatsby>
- <https://github.com/gatsbyjs/gatsby/releases>
- <https://www.gatsbyjs.com/docs/reference/config-files/gatsby-config>
- <https://www.gatsbyjs.com/docs/reference/gatsby-cli>
- <https://www.gatsbyjs.com/docs/reference/release-notes>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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

- Unix: <project_root>/gatsby-config.js, <project_root>/gatsby-config.mjs, <project_root>/gatsby-config.ts
- Windows: <project_root>\gatsby-config.js, <project_root>\gatsby-config.mjs, <project_root>\gatsby-config.ts
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gatsby-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:** stable

## 他のパッケージマネージャ記録

- Nix - gatsby-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/ga/gatsby-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [node](https://pkg.so/ja/brew/node/) - Runtime dependency declared by Homebrew.
- [hexo](https://pkg.so/ja/brew/hexo/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs, static-site-generator.
- [pnpm](https://pkg.so/ja/brew/pnpm/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs.
- [hugo](https://pkg.so/ja/brew/hugo/) - Shares pkgdb curated category or tags: cli, developer-tools, static-site-generator.
- [yarn](https://pkg.so/ja/brew/yarn/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs.
- [sphinx-doc](https://pkg.so/ja/brew/sphinx-doc/) - Shares pkgdb curated category or tags: cli, developer-tools, static-site-generator.
- [fnm](https://pkg.so/ja/brew/fnm/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs.
- [node-build](https://pkg.so/ja/brew/node-build/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs.
- [vite](https://pkg.so/ja/brew/vite/) - Shares pkgdb curated category or tags: cli, developer-tools, web-development.
- [gatsby-cli](https://pkg.so/ja/npm/gatsby-cli/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, command-line, developer, developer-tools, gatsby.
- [gatsby](https://pkg.so/ja/npm/gatsby/) - Executable or command metadata overlaps with this package. Shared terms: cli, developer, developer-tools, gatsby, generator.
- [gatsby-cli](https://pkg.so/ja/npm/gatsby-cli/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/gatsby-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gatsby-cli.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
