# Install langgraph-cli with Homebrew, Nix

Command-line interface for deploying apps to the LangGraph platform. Version 0.4.30 via Homebrew; verified 2026-06-21.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:langgraph-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/langgraph-cli>
- **Version:** 0.4.30
- **Source summary:** Command-line interface for deploying apps to the LangGraph platform
- **Homepage:** <https://www.github.com/langchain-ai/langgraph>
- **Repository:** <https://github.com/langchain-ai/langgraph>
- **Upstream docs:** <https://docs.langchain.com/langgraph-platform/langgraph-cli>
- **License:** MIT
- **Source archive:** <https://files.pythonhosted.org/packages/f0/27/4b6a0f00c804f0b0831f741c0607b46a4cbddff14d1eab6bbd4ce5820837/langgraph_cli-0.4.30.tar.gz>
- **Last updated:** 2026-06-21T10:47:28Z
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- langgraph (cli)
- langgraph (alias)

## Dependencies

- certifi
- libyaml
- pydantic
- python@3.14

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 0.4.30
- Package-manager updated: 2026-06-21
- Local data: ok
- Upstream repository: https://github.com/langchain-ai/langgraph
- info: No cached GitHub release or tag data was available.
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for langgraph-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.



## 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** langgraph-cli
- **Version Scheme:** 0
- **Revision:** 2
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [openskills](https://www.automicvault.com/pkg/brew/openskills/) - Shares av.db curated category or tags: ai, ai-agents, cli, developer-tools.
- [chatblade](https://www.automicvault.com/pkg/brew/chatblade/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [kimi-cli](https://www.automicvault.com/pkg/brew/kimi-cli/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [skillshare](https://www.automicvault.com/pkg/brew/skillshare/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [cc-connect](https://www.automicvault.com/pkg/brew/cc-connect/) - Shares av.db curated category or tags: ai, ai-agents, cli, developer-tools.
- [docker-agent](https://www.automicvault.com/pkg/brew/docker-agent/) - Shares av.db curated category or tags: ai, ai-agents, cli, developer-tools.
- [e2b](https://www.automicvault.com/pkg/brew/e2b/) - Shares av.db curated category or tags: ai, ai-agents, cli, developer-tools.
- [gastown](https://www.automicvault.com/pkg/brew/gastown/) - Shares av.db curated category or tags: ai, ai-agents, cli, developer-tools.
- [gptline](https://www.automicvault.com/pkg/brew/gptline/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, certifi, cli, developer, developer-tools.
- [mcp-atlassian](https://www.automicvault.com/pkg/brew/mcp-atlassian/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, certifi, cli, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/langgraph-cli.yml](https://github.com/automic-vault/db/blob/main/combined/langgraph-cli.yml)


## Sources

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