Skip to content

Conversation

christian-bromann
Copy link
Member

@christian-bromann christian-bromann commented Sep 19, 2025

As a JavaScript developer I may not have Python installed and prefer a snippet using NPM.

cc @dqbd

fwiw: I don't think these docs are helpful for JS folks to onboard, due to following reasons:

  • npx @langchain/langgraph-cli doesn't install langgraph CLI (it just downloads the CLI and executes it)
  • langgraph new path/to/your/app --template new-langgraph-project-js doesn't work because the JS version of LG CLI doesn't have a new command, it has dev, dockerfile, build, up, sysinfo and help but no new

@Copilot Copilot AI review requested due to automatic review settings September 19, 2025 23:48
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds NPM package support for the LangGraph CLI to provide JavaScript developers with an alternative installation method that doesn't require Python. The changes advertise the @langchain/langgraph-cli NPM package as an option alongside the existing pip and uv installation methods.

Key Changes:

  • Added NPM installation option using npx @langchain/langgraph-cli dev
  • Restructured code blocks to include the langgraph dev command within each installation method's code block
  • Maintained consistent formatting across all installation options

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/langgraph-platform/set-up-custom-auth.mdx Added NPM code block with npx command for running LangGraph dev
src/langgraph-platform/quick-start-studio.mdx Added NPM installation option and reorganized code blocks to include dev command inline

@github-actions github-actions bot added the langgraph-platform For docs changes to LangGraph Platform label Sep 19, 2025
Copy link

Preview ID generated: preview-cblgde-1758325714-1158ad2

@dqbd
Copy link
Contributor

dqbd commented Sep 20, 2025

@christian-bromann for JS we had the npm create langgraph command, but might as well add it in CLI
langchain-ai/langgraphjs#1685

@lnhsingh lnhsingh merged commit ec490c2 into main Sep 22, 2025
12 checks passed
@lnhsingh lnhsingh deleted the cb/lg-dev branch September 22, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
langgraph-platform For docs changes to LangGraph Platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants