Prerequisites
Flutter SDK
Version 3.13.19 or higher
Rust Toolchain
Version 1.70 or higher
Git
For cloning the repository
Build Tools
Platform-specific compilers and SDKs
Installing Flutter
1
Download Flutter SDK
Download the Flutter SDK from the official website:
- macOS
- Linux
- Windows
2
Verify installation
3
Install required Flutter dependencies
Installing Rust
1
Install rustup
- macOS/Linux
- Windows
2
Verify installation
3
Install required Rust components
Installing cargo-make
AppFlowy usescargo-make for build automation:
Platform-Specific Setup
- macOS
- Linux
- Windows
macOS Requirements
1
Install Xcode
Install Xcode from the App Store or download from developer.apple.com.
2
Install Homebrew
3
Install dependencies
Clone the Repository
1
Clone AppFlowy
2
Navigate to frontend
Repository Structure
Understanding the repository layout:All build commands should be run from the
frontend/ directory.Verify Setup
1
Check Flutter
2
Check Rust
3
Install Flutter dependencies
IDE Setup
- VS Code
- Android Studio
Build Tools
Protobuf
AppFlowy uses Protocol Buffers for serialization:- macOS
- Linux
- Windows
Next Steps
Now that your environment is set up, you can build AppFlowy:Building Desktop
Build AppFlowy for macOS, Windows, or Linux
Building Mobile
Build AppFlowy for iOS or Android
Architecture
Learn about AppFlowy’s architecture
Contributing
Start contributing to AppFlowy
Troubleshooting
Common Issues
- Flutter
- Rust
- Protobuf
Flutter doctor shows issues:
For more help, join the AppFlowy Discord community.