Install LangGraph ↗
noOriginal Documentation
Documentation Index#
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt Use this file to discover all available pages before exploring further.
To install the base LangGraph package:
npm install @langchain/langgraph @langchain/corepnpm add @langchain/langgraph @langchain/coreyarn add @langchain/langgraph @langchain/corebun add @langchain/langgraph @langchain/coreTo use LangGraph you will usually want to access LLMs and define tools. You can do this however you see fit.
One way to do this (which we will use in the docs) is to use LangChain.
Install LangChain with:
npm install langchainpnpm add langchainyarn add langchainbun add langchainTo work with specific LLM provider packages, you will need install them separately.
Refer to the integrations page for provider-specific installation instructions.
Edit this page on GitHub or file an issue.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.
Link last verified
June 7, 2026.
View original ↗
Source: LangChain Docs
Link last verified: 2026-03-04