Install Langflow
You can deploy Langflow either locally or as a hosted service with Datastax Langflow.
+Langflow can be installed in two ways:
+-
+
- As a Python package +
- As a standalone desktop application +
Install Langflow locally
Install Langflow locally with uv (recommended), pip, or pipx.
Prerequisites
@@ -78,8 +82,33 @@
_10python -m pip install langflow==1.1
To reinstall Langflow and all of its dependencies, add the --force-reinstall flag to the command.
_10python -m pip install langflow --force-reinstall
DataStax Langflow
-DataStax Langflow is a hosted version of Langflow integrated with Astra DB. Be up and running in minutes with no installation or setup required. Sign up for free.
+Install Langflow Desktop
+Langflow Desktop is in Alpha. +Development is ongoing, and the features and functionality are subject to change.
Langflow Desktop is a desktop version of Langflow that includes all the features of open source Langflow, with an additional Version Management feature for managing your Langflow version.
+Langflow Desktop is available only for macOS.
To install Langflow Desktop, follow these steps:
+-
+
- Navigate to Langflow Desktop. +
- Enter your Name, Email address, and Company, and then click Download. +
- Open the Finder, and then navigate to Downloads. +
- Double-click the downloaded
*.dmgfile.
+ - To install Langflow Desktop, drag and drop the application icon to the Applications folder. +
- When the installation completes, open the Langflow application. +
The application checks uv, your local environment, and the Langflow version, and then starts.
+Manage your Langflow version in Langflow Desktop
+When a new version of Langflow is available, Langflow Desktop displays an upgrade message.
+To manage your Langflow version in Langflow Desktop, follow these steps:
+-
+
- To access Langflow Desktop's Version Management pane, click your Profile Image, and then select Version Management. +Langflow Desktop's current version is displayed, with other version options listed after it. +The latest version is always highlighted. +
- To change your Langflow version, select another version. +A confirmation pane containing the selected version's changelog appears. +
- To change to the selected version, click Confirm. +The application restarts with the new version installed. +
Common installation issues
This is a list of possible issues that you may encounter when installing and running Langflow.
No langflow.__main__ module
@@ -114,6 +143,6 @@
To work around this issue, install Langflow with uv instead of pip.
_10uv pip install langflow
To run Langflow with uv:
-
_10uv run langflow run