Skip to content

--build-command and --install-command not available in langgraph cli #1347

@nckhell

Description

@nckhell

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    langchainFor docs changes to LangChain

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions