Installation
Nest Dart provides three packages depending on your platform. Choose the package that matches your project type.Requirements
All Nest Dart packages require Dart SDK 3.8.1 or higher.
- Dart SDK: ^3.8.1
- Flutter: Latest stable version (for nest_flutter)
- Dart Frog: ^1.1.0 (for nest_frog)
Choose your package
nest_core
For pure Dart applications and CLI tools
nest_flutter
For Flutter mobile and web applications
nest_frog
For Dart Frog backend applications
Installing nest_core
Usenest_core for pure Dart applications, command-line tools, or as the foundation for other packages.
Installing nest_flutter
Usenest_flutter for Flutter applications on mobile, web, desktop, or any Flutter-supported platform.
Flutter platform support
nest_flutter works on all Flutter platforms:
- ✅ Android
- ✅ iOS
- ✅ Web
- ✅ macOS
- ✅ Windows
- ✅ Linux
Additional dependencies
nest_flutter includes go_router for routing integration. If you need additional routing features, refer to the go_router documentation.nest_core- Core dependency injection systemgo_router- Declarative routing for Flutter
Installing nest_frog
Usenest_frog for Dart Frog backend applications and REST APIs.
Backend dependencies
The package automatically includes:nest_core- Core dependency injection systemdart_frog- Fast, minimalistic backend framework
Multiple packages
If you’re building a full-stack Dart application, you can use multiple Nest Dart packages in different projects:Verify installation
After installation, verify that everything is working by creating a simple module:Next steps
Quick start
Follow the quickstart guide to build your first application
Learn core concepts
Understand modules and dependency injection
Troubleshooting
Version conflicts
If you encounter version conflicts, ensure your Dart SDK version meets the minimum requirement:Dependency resolution issues
Ifpub get fails, try clearing your pub cache:
Need help?
GitHub Issues
Report issues or ask questions on GitHub