πInstallation Guide
This guide will help you install Flutter Bunny CLI and get it ready for use.
Prerequisites
Before installing Flutter Bunny CLI, make sure you have the following:
Flutter SDK: version 3.0.0 or higher
Dart SDK: version 2.17.0 or higher
You can check your current Flutter and Dart versions with:
flutter --version
dart --versionInstallation Steps
1. Install via Pub
dart pub global activate flutter_bunny_cli2. Install via Flutter
Alternatively, you can install using Flutter:
flutter pub global activate flutter_bunny_cli3. Add to PATH
For the flutter_bunny command to be accessible globally, you need to add the Pub cache bin directory to your PATH.
For macOS/Linux:
Add the following to your ~/.bashrc, ~/.zshrc, or equivalent:
Then reload your shell configuration:
For Windows:
Add %LOCALAPPDATA%\Pub\Cache\bin to your system PATH.
Verifying Installation
To verify that Flutter Bunny CLI is installed correctly, run:
You should see the current version number of the Flutter Bunny CLI.
Updating Flutter Bunny CLI
To update to the latest version:
Troubleshooting
Command Not Found
If you get a "command not found" error, make sure the Pub cache bin directory is in your PATH.
Permission Issues
If you encounter permission issues on macOS/Linux:
Conflicts with Other Packages
If you encounter conflicts with other globally activated packages, try:
For more detailed troubleshooting, see the Troubleshooting Guide.
Last updated