Overview
Flowise can be installed in multiple ways depending on your use case:- NPM: Quick global installation for production or testing
- Docker: Containerized deployment with Docker or Docker Compose
- Development: Full source code setup for contributing or customization
Requirements: All installation methods require Node.js >= 18.15.0 (versions 18.15.0 to 18.x or 20.x are supported).
NPM Installation
The fastest way to get started with Flowise.Install Node.js
Download and install Node.js version 18.15.0 or higher.Verify your installation:Expected output:
v18.15.0 or higherDocker Installation
Run Flowise in a containerized environment.Docker Compose (Recommended)
Configure environment variables
Copy the example environment file:Edit the
.env file to customize your configuration. Key variables include:Docker Image
Run Flowise directly from Docker Hub without cloning the repository.The
-v ~/.flowise:/root/.flowise flag mounts a volume to persist your data (flows, credentials, logs) on the host machine.Development Setup
Set up Flowise for development, contributing, or advanced customization.Prerequisites
Setup Instructions
Build all modules
Troubleshooting: JavaScript heap out of memory
Troubleshooting: JavaScript heap out of memory
If you encounter exit code 134 (heap out of memory), increase Node.js heap size:
Development mode (optional)
For development with hot-reload:The app will be available at
- Create
.envfile inpackages/uiand specifyVITE_PORT(refer to.env.example) - Create
.envfile inpackages/serverand specifyPORT(refer to.env.example) - Run development build:
http://localhost:8080 with auto-reload on code changes.Module Structure
Flowise is a monorepo with the following modules:server
Node.js backend serving API logic with Express
ui
React frontend with the visual workflow builder
components
Third-party node integrations (LLMs, vector stores, tools, etc.)
api-documentation
Auto-generated Swagger UI API documentation
Configuration
After installation, you can configure Flowise using environment variables:Next Steps
Quickstart
Create your first chatflow in minutes
Environment Variables
Explore all configuration options
Deployment
Deploy to production on AWS, Azure, GCP, and more
Contributing
Contribute to the Flowise project