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

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install langgraph-cli
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:langgraph-cli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.4.31
- **ソース概要:** Command-line interface for deploying apps to the LangGraph platform
- **ホームページ:** <https://www.github.com/langchain-ai/langgraph>
- **最終更新:** 2026-07-12T00:18:23Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- langgraph (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

LangGraph CLI is the command-line tool for creating, developing, building, and running LangGraph applications and LangGraph API servers.

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

LangGraph grew out of the LangChain ecosystem as lower-level infrastructure for stateful, long-running agent workflows. The LangGraph repository describes the core framework as orchestration infrastructure for durable execution, human-in-the-loop control, memory, debugging, and production deployment.

The CLI package is housed in the LangGraph monorepo under `libs/cli` and is published as the `langgraph-cli` Python package. Its project metadata describes it as a CLI for interacting with the LangGraph API, with a `langgraph` console script and dependencies for HTTP access, dotenv loading, and LangGraph SDK integration.

### 採用の歴史

The CLI follows LangGraph's broader adoption among AI-agent developers: it packages local development, Docker image generation, and deployment commands behind one command name. The upstream README cites companies such as Klarna, Replit, and Elastic as LangGraph users, which made the CLI part of the operational tooling around a visible agent framework.

### 使われ方

The docs define `langgraph.json` as the default configuration file for declaring dependencies, graphs, and environment variables. Common commands include local development, image build, deployment, starting services with Docker Compose, and generating Dockerfiles.

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

For package nerds, LangGraph CLI is interesting because it is not just a wrapper around a library: it is the packaging boundary between agent source trees, local service orchestration, Docker images, and hosted LangGraph deployments. Its Homebrew formula also reflects a Python AI tool being distributed as a first-class command-line utility.

### タイムライン

- 2024: LangGraph became a prominent LangChain-family project for stateful agent workflows.
- 2024: `langgraph-cli` appeared as a Python package for interacting with LangGraph API projects.
- 2025-2026: The CLI docs describe Python and JavaScript command variants for build, deploy, up, and Dockerfile workflows.

### Related projects

- Related projects include LangGraph, LangChain, LangSmith, LangGraph.js, and the LangGraph SDK packages used by the CLI.

### ソース

- <https://docs.langchain.com/langgraph-platform/langgraph-cli>
- <https://github.com/langchain-ai/langgraph>
- <https://pypi.org/project/langgraph-cli/>
- <https://raw.githubusercontent.com/langchain-ai/langgraph/main/libs/cli/pyproject.toml>
- <https://reference.langchain.com/python/langgraph-cli>


## セキュリティノート

langgraph-cli に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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: langgraph.json

## Credential files

- Unix: .env
## 他のパッケージマネージャ記録

- Nix - langgraph-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/la/langgraph-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/langgraph-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/langgraph-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
