Complete step-by-step guide to install all necessary software components for developing and deploying the Mighty School Management System.
Cross-platform mobile development framework for building native Android and iOS applications.
Download the latest stable release from the official Flutter website
# Download using Git (Recommended)
git clone https://github.com/flutter/flutter.git -b stable
# Or download ZIP from https://flutter.dev/docs/get-started/install/windows
Add Flutter bin directory to your system PATH environment variable
# Add to PATH (replace with your Flutter path)
$env:PATH += ";C:\flutter\bin"
# Make permanent by adding to System Environment Variables
Run Flutter doctor to check for any missing dependencies
flutter doctor -v
Download the latest stable release for macOS
# Using Git (Recommended)
git clone https://github.com/flutter/flutter.git -b stable
cd flutter
# Or download ZIP from https://flutter.dev/docs/get-started/install/macos
Add Flutter to your shell profile
# For Bash users
echo 'export PATH="$PATH:`pwd`/flutter/bin"' >> ~/.bash_profile
source ~/.bash_profile
# For Zsh users (default in macOS Catalina+)
echo 'export PATH="$PATH:`pwd`/flutter/bin"' >> ~/.zshrc
source ~/.zshrc
Check Flutter installation and dependencies
flutter doctor -v
Install required dependencies for Linux
# Ubuntu/Debian
sudo apt update
sudo apt install curl git unzip xz-utils zip libglu1-mesa
# CentOS/RHEL/Fedora
sudo yum install curl git unzip xz zip mesa-libGLU
Clone Flutter repository and set up PATH
# Clone Flutter
git clone https://github.com/flutter/flutter.git -b stable
cd flutter
# Add to PATH
echo 'export PATH="$PATH:`pwd`/bin"' >> ~/.bashrc
source ~/.bashrc
Run Flutter doctor to check setup
flutter doctor -v
Server-side scripting language and modern PHP framework for building robust web applications and APIs.
Download and install PHP for Windows
# Using Chocolatey (Recommended)
choco install php
# Or download from https://windows.php.net/download/
# Extract to C:\php and add to PATH
PHP dependency manager for Laravel
# Download and run Composer-Setup.exe from https://getcomposer.org/download/
# Or using PowerShell:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Install Laravel via Composer
# Install Laravel installer globally
composer global require laravel/installer
# Verify installation
laravel --version
Install PHP using Homebrew
# Install Homebrew if not already installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install PHP 8.3
brew install php@8.3
# Link PHP to make it available globally
brew link php@8.3 --force
Install Composer dependency manager
# Install Composer using Homebrew
brew install composer
# Or manual installation:
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
Install Laravel installer globally
# Install Laravel installer
composer global require laravel/installer
# Add Composer global bin to PATH
echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.zshrc
source ~/.zshrc
# Verify installation
laravel --version
Install PHP and required extensions
# Ubuntu/Debian
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php8.3 php8.3-cli php8.3-common php8.3-mysql php8.3-zip php8.3-gd php8.3-mbstring php8.3-curl php8.3-xml php8.3-bcmath
# CentOS/RHEL/Fedora
sudo dnf install php php-cli php-common php-mysqlnd php-zip php-gd php-mbstring php-curl php-xml php-bcmath
Install Composer dependency manager
# Download and install Composer
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
sudo chmod +x /usr/local/bin/composer
# Verify installation
composer --version
Install Laravel installer globally
# Install Laravel installer
composer global require laravel/installer
# Add Composer global bin to PATH
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.bashrc
source ~/.bashrc
# Verify installation
laravel --version
Lightweight, powerful code editor with excellent Flutter and PHP support
Official IDE for Android development with Flutter support
Required for iOS development and deployment
Tools for managing MySQL databases
Essential for version control and collaboration
winget install Git.Git
brew install git
sudo apt install git
For asset compilation and package management
Download from nodejs.org
node --version && npm --version
For caching and session management
choco install redis-64
brew install redis
sudo apt install redis-server
Run these commands to verify all software is installed correctly:
flutter doctor -v
php --version
composer --version
laravel --version
git --version
Problem: Flutter doctor shows missing dependencies
Solution:
flutter doctor --android-licensesxcode-select --installProblem: Laravel requires missing PHP extensions
Solution:
Problem: Commands not found after installation
Solution: