# 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
- **バージョン:** 5.16.0
- **ソース概要:** Gatsby command-line interface
- **ホームページ:** <https://www.gatsbyjs.com/docs/reference/gatsby-cli/>
- **最終更新:** 2026-06-22T14:03:24-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gatsby (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 5.16.0
## プロジェクトの歴史と使われ方

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
## 他のパッケージマネージャ記録

- 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
