Installation
This guide will help you set up everything needed to start building applications with Freya.Prerequisites
Platform-Specific Setup
- Windows
- macOS
- Linux
Windows Requirements
Install Visual Studio 2022 with the “Desktop Development with C++” workflow.Download Visual Studio 2022
Download the Visual Studio 2022 Community Edition installer.
Install C++ Development Tools
During installation, select the “Desktop Development with C++” workload. This includes:
- MSVC C++ compiler
- Windows SDK
- CMake tools
Creating a New Project
Once you have the platform dependencies installed, create a new Rust project:Add Freya as a dependency
Add Freya to your
Cargo.toml:The main branch contains the latest features but may have breaking changes. Use stable releases for production applications.
Optional Features
Freya supports optional features that you can enable based on your needs:Available Features
Available Features
router- Type-safe routing with freya-routeri18n- Internationalization support with Fluenticons- Icon library (Lucide icons)radio- Global state management with freya-radiosdk- Additional utilities and integrationsmaterial-design- Material Design components and effectswebview- Embed web content in your appterminal- Terminal emulation supportcode-editor- Code editor with syntax highlightingplot- Charting and data visualization with Plotterscalendar- Calendar componentmarkdown- Markdown renderinggif- GIF animation supportdevtools- Developer tools for debuggingperformance- Performance monitoringall- Enable all features (except devtools)
Known Issues
Testing Your Setup
To verify everything is working correctly, try running one of the examples from the Freya repository:Next Steps
Quick Start Tutorial
Build your first interactive app with our step-by-step guide
Browse Examples
Explore 100+ examples covering all features
Getting Help
If you encounter any issues during installation:- Check the GitHub Issues for similar problems
- Ask for help in the Discord community
- Review the API documentation for detailed information