Deploy Dify (LLM App Platform) with a single command. Docker Compose based installation with no manual cloning, no complex configuration.
curl -sSL https://raw.githubusercontent.com/caoergou/dify-installer/main/install.sh | bashDify is an open-source LLM application development platform for building AI apps, chatbots, RAG pipelines, and AI agents. Similar to LangChain but with a visual no-code interface.
This installer uses Docker Compose to get you running in minutes on any Linux server.
| Region | Command |
|---|---|
| Global | curl -sSL https://raw.githubusercontent.com/caoergou/dify-installer/main/install.sh | bash |
| China | curl -sSL https://raw.githubusercontent.com/caoergou/dify-installer/main/install_cn.sh | bash |
- Docker Compose deployment - All services in containers
- Interactive setup with smart defaults
- Database: PostgreSQL or MySQL
- Vector DB: Weaviate, Qdrant, Milvus, Chroma, pgvector
- Storage: Local, S3, Azure, GCS, Aliyun OSS
- SSL: Let's Encrypt or custom certificates
- Docker + Docker Compose installed
- 2+ CPU cores, 4GB+ RAM
- Ports 80, 443 available
./install.sh # Interactive setup
./install.sh --yes # Use all defaults
./install.sh --help # Show helpServices are managed via Docker Compose:
docker compose logs -f # View logs
docker compose down # Stop all services
docker compose up -d # Start all services
docker compose ps # Check statusAccess Dify at http://localhost (or your configured domain).
- Advanced Configuration - Environment variables, performance tuning, SSL
- Chinese Advanced Docs - 中文高级配置文档
- Dify - Official repository
- Dify Docs - Official documentation
- Dify Cloud - Managed hosting
MIT