⚡ Quick Install
FLX CLI টি ইনস্টল করা খুবই সহজ! মাত্র কয়েকটি স্টেপে আপনি শুরু করতে পারবেন।
📋 Pre-requisites
আপনার সিস্টেমে এই জিনিসগুলো আগে থেকে installed থাকতে হবে:
# Flutter SDK check করুন
flutter --version
# Dart SDK check করুন
dart --version
🚀 Installation Steps
1. FLX CLI Install করুন
dart pub global activate flx_cli
2. PATH Setup করুন (যদি প্রয়োজন হয়)
Windows:
# Check if dart bin is in PATH
where flx
# If not found, add to PATH
set PATH=%PATH%;%USERPROFILE%\AppData\Local\Pub\Cache\bin
macOS/Linux:
# Add to your shell profile (.bashrc, .zshrc, etc.)
echo 'export PATH="$PATH":"$HOME/.pub-cache/bin"' >> ~/.bashrc
source ~/.bashrc
3. Installation Verify করুন
flx --version
✅ যদি version number দেখায়, তাহলে সফলভাবে install হয়েছে!
⚙️ Quick Configuration
Global Config Setup
# GetX state management দিয়ে শুরু করুন
flx config --state getx
# অথবা BLoC ব্যবহার করতে চাইলে
flx config --state bloc
Configuration Verify করুন
flx config --list
🏃♂️ First Command Test
একটি simple test করে দেখুন:
# Help command
flx --help
# Available commands দেখুন
flx gen --help
🆘 Common Installation Issues
Issue 1: Command not found
# Solution: PATH properly set করুন
echo $PATH # Check if dart bin directory is included
Issue 2: Permission denied
# Solution: Dart pub permissions fix করুন
dart pub cache repair
Issue 3: Old version installed
# Solution: Uninstall করে আবার install করুন
dart pub global deactivate flx_cli
dart pub global activate flx_cli
✨ Ready to Go!
আপনার FLX CLI এখন ready! এরপর:
Total installation time: ~2 minutes ⏱️