0%
Installing and Setting Up Flutter

Installation and Setup

Get your Flutter development environment ready

15-20 min

Installing and Setting Up Flutter

In this tutorial, we will install Flutter on your system and set up your development environment. Follow the steps for your operating system.

System Requirements

Windows

  • OS: Windows 10 or later (64-bit)
  • Disk space: 1.64 GB (excluding IDE/tools)
  • Tools: PowerShell 5.0 or later

macOS

  • OS: macOS 10.14 (Mojave) or later
  • Disk space: 2.8 GB (excluding IDE/tools)
  • Tools: bash, curl, git, mkdir, rm, unzip, which

Linux

  • OS: Linux (64-bit)
  • Disk space: 600 MB (excluding IDE/tools)
  • Tools: bash, curl, file, git, mkdir, rm, unzip, which, xz-utils

Installation on Windows

1. Download Flutter

  1. Go to flutter.dev
  2. Download the Flutter SDK for Windows
  3. Extract the ZIP file to a folder (e.g., C:\flutter)

2. Configure environment variables

# Add Flutter to the PATH
$env:PATH += ";C:\flutter\bin"

# Verify the installation
flutter --version

3. Run flutter doctor

flutter doctor

This command checks your environment and displays a report of the installed tools.

Comments

Comments are powered by GitHub Discussions

Sign in with GitHub to join the discussion

Link copied!