[GH-ISSUE #1347] --build-command and --install-command not available in langgraph cli #198

Open
opened 2026-02-17 17:19:23 -05:00 by yindo · 0 comments
Owner

Originally created by @nckhell on GitHub (Nov 9, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/1347

Type of issue

issue / bug

Language

JavaScript

Description

I'm trying to build my langgraph agent locally following the guide here. However, the langgraph cli is throwing on the --build-command and --install-command args.

> node -v
# v22.15.1

> npx @langchain/langgraph-cli --version
# 1.0.3+js

> npx @langchain/langgraph-cli build -t agent -c apps/service-langgraph/langgraph.json --install-command "pnpm install"
# info:    ▪ Running "docker build -f - -t agent /Users/nickhellemans/Documents/Dev/vwala/apps/service-langgraph --install-command pnpm install"
# unknown flag: --install-command

# Usage:  docker buildx build [OPTIONS] PATH | URL | -

# Run 'docker buildx build --help' for more information
# error:   ▪ ExecaError: Command failed with exit code 125: docker build -f - -t vwala-agent /Users/nickhellemans/Documents/Dev/vwala/apps/service-langgraph --install-command 'pnpm install'

Seems like both flags are not supported?

Originally created by @nckhell on GitHub (Nov 9, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/1347 ### Type of issue issue / bug ### Language JavaScript ### Description I'm trying to build my langgraph agent locally following the guide [here](https://docs.langchain.com/langsmith/monorepo-support#building-the-application). However, the langgraph cli is throwing on the `--build-command` and `--install-command` args. ```bash > node -v # v22.15.1 > npx @langchain/langgraph-cli --version # 1.0.3+js > npx @langchain/langgraph-cli build -t agent -c apps/service-langgraph/langgraph.json --install-command "pnpm install" # info: ▪ Running "docker build -f - -t agent /Users/nickhellemans/Documents/Dev/vwala/apps/service-langgraph --install-command pnpm install" # unknown flag: --install-command # Usage: docker buildx build [OPTIONS] PATH | URL | - # Run 'docker buildx build --help' for more information # error: ▪ ExecaError: Command failed with exit code 125: docker build -f - -t vwala-agent /Users/nickhellemans/Documents/Dev/vwala/apps/service-langgraph --install-command 'pnpm install' ``` Seems like both flags are not supported?
yindo added the langchainexternal labels 2026-02-17 17:19:23 -05:00
yindo changed title from --build-command and --install-command not available in langgraph cli to [GH-ISSUE #1347] --build-command and --install-command not available in langgraph cli 2026-06-05 17:25:36 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#198