mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-22 07:32:25 +02:00
LangGraph CLI Installer
A simple installer for the LangGraph CLI that uses uv to create an isolated environment.
Why?
This lightweight installer creates an isolated installation of LangGraph CLI without worrying about Python environment conflicts or dependencies. It uses uv to create a standalone environment with LangGraph CLI.
Key benefits:
- Prevents conflicts with other Python packages
- No knowledge of virtual environments needed
- Adds to your PATH automatically
- Installs the latest version of LangGraph CLI
Quick Install
Simply run:
pip install langgraph-cli-install && langgraph-cli-install
This will:
- Install the uv package if not already installed
- Create an isolated environment with the latest LangGraph CLI
- Add the CLI to your PATH automatically
After installation, you can run langgraph --help to get started.
How It Works
This installer is similar to aider-install. It:
- Uses the
uvPython installer to create an isolated environment - Installs the latest
langgraph-cliin that environment - Adds the installed binary to your PATH
This approach dramatically reduces installation issues caused by Python environment conflicts.
Manual Installation
If you prefer not to use this installer, you can install LangGraph CLI directly:
pip install langgraph-cli
License
MIT