Dart And Flutter Installation

Dart and Flutter Installation Guide

🚀 Dart and Flutter Installation Guide

🛠️ Step 1: Installing Dart

Dart is the programming language behind Flutter. Here's how to install it:

🖥️ For Windows Users:

  1. Download the Dart SDK from the Dart SDK Downloads page.
  2. Extract the ZIP file to a folder (e.g., C:\Dart).
  3. Update your PATH:
    • Search for Edit the system environment variables in the Start menu.
    • In the System Properties, click Environment Variables.
    • Add C:\Dart\dart-sdk\bin to the PATH variable.
  4. Verify installation by running:
    dart --version

🍎 For macOS Users:

  1. Install Homebrew:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Install Dart using:
    brew tap dart-lang/dart
    brew install dart
  3. Verify installation by running:
    dart --version

🐧 For Linux Users:

  1. Add the Dart APT repository:
    sudo apt update
    sudo apt install apt-transport-https
    sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
    sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
  2. Install Dart:
    sudo apt update
    sudo apt install dart
  3. Update your PATH by adding:
    export PATH="$PATH:/usr/lib/dart/bin"
  4. Verify installation by running:
    dart --version

🖌️ Step 2: Installing Flutter

Flutter is the UI toolkit to build beautiful apps. Here's how to install it:

🖥️ For Windows Users:

  1. Download the Flutter SDK from the Flutter SDK Downloads page.
  2. Extract the ZIP file to a folder (e.g., C:\flutter).
  3. Update your PATH by adding C:\flutter\bin.
  4. Run:
    flutter doctor

Comments

Popular posts from this blog

Top 10 AI Training Platforms to Skyrocket Your Remote Career in 2025 (Beyond Outlier!)

Top Video Summarizer Tools to Boost Productivity and Learn Faster in 2025

Excelchat Expert Account Creation Step 1 and Step 2 Answers