bloom command performs a comprehensive health check of your development environment, verifying that all required dependencies are installed and properly configured.
Usage
Options
Show detailed installation instructions for missing dependencies
Short form of
--troubleshootWhat It Checks
The bloom command verifies:Critical Dependencies
These must be installed for Fern to work:- C++ Compiler (g++) - Required for compiling native applications
- pkg-config - Required for library configuration
- Fern C++ Library - The core Fern framework
Optional Dependencies
These enhance functionality but aren’t required:- Emscripten - For web platform builds
- CMake - For advanced build configurations
- System Libraries - X11, Xext, fontconfig, freetype2
Fern-Specific Checks
- Fern C++ Library - Global installation status
- Fern Templates - Available project templates
- Fern Configuration - Configuration file status
Examples
Basic Health Check
Show Installation Help
System Requirements by Platform
- Ubuntu/Debian
- CentOS/RHEL/Fedora
- Arch Linux
Installing Emscripten (Optional)
For web development support:Exit Codes
All checks passed successfully
One or more checks failed (may still be functional if only optional dependencies failed)
Check Results
Each check displays one of three statuses:- ✓ (Green) - Dependency found and working
- ✗ (Red) - Critical dependency missing (Fern won’t work)
- ⚠ (Yellow) - Optional dependency missing (Fern will work with reduced functionality)
Verifying Installation
After installing dependencies:Common Issues
C++ Compiler Not Found
C++ Compiler Not Found
Install the build tools for your platform:
Fern C++ Library Not Installed
Fern C++ Library Not Installed
Install Fern globally:
pkg-config Not Found
pkg-config Not Found
Install pkg-config:
X11 Libraries Missing
X11 Libraries Missing
Install X11 development files:
Troubleshooting Output
When run with--troubleshoot, the command provides:
- Platform-specific installation commands for your operating system
- Step-by-step installation guide for Fern and dependencies
- Emscripten setup instructions for web development
- Verification steps to confirm everything works
Related Commands
fern sprout- Create a new project after verifying your environmentfern fire- Run your project after health checks passfern lsp install- Install Language Server Protocol support