# Environment Setup

**Installation:**

**Mac:**

Extract the file in the desired location, for example:

```
cd ~/development
unzip ~/Downloads/flutter_macos_2.10.5-stable.zip
```

Add the `flutter` tool to your path:

```
export PATH="$PATH:`pwd`/flutter/bin"
```

This command sets your `PATH` variable for the *current* terminal window only. To permanently add Flutter to your path, see [Update your path](https://docs.flutter.dev/get-started/install/macos#update-your-path).

**Windows:**

\
Extract the zip file and place the contained flutter in the desired installation location for the Flutter SDK (for example, C:\src\flutter).

{% hint style="danger" %}
&#x20;**Warning:** Do not install Flutter to a path that contains special characters or spaces.
{% endhint %}

{% hint style="danger" %}
&#x20;**Warning:** Do not install Flutter in a directory like `C:\Program Files\` that requires elevated privileges.
{% endhint %}

#### Run `flutter doctor` <a href="#run-flutter-doctor" id="run-flutter-doctor"></a>

Run the following command to see if there are any dependencies you need to install to complete the setup (for verbose output, add the `-v` flag):

```
flutter doctor
```

This command checks your environment and displays a report to the terminal window. The Dart SDK is bundled with Flutter; it is not necessary to install Dart separately. Check the output carefully for other software you might need to install or further tasks to perform&#x20;

For example:

{% hint style="info" %}
\[-] Android toolchain - develop for Android devices&#x20;

• Android SDK at /Users/obiwan/Library/Android/sdk&#x20;

✗ Android SDK is missing command line tools; download from <https://goo.gl/XxQghQ&#x20>;

• Try re-installing or updating your Android SDK, visit <https://docs.flutter.dev/setup/#android-setup> for detailed instructions.<br>
{% endhint %}
