Update Downloading Flutter and Adding it to Your Path authored by Andrew Januszko's avatar Andrew Januszko
# Downloading and Getting SDK Path # Downloading and Getting SDK Path
- Download the [`Flutter SDK`](https://docs.flutter.dev/get-started/install) build for your operating system. - Download the [`Flutter SDK`](https://docs.flutter.dev/get-started/install) build for your operating system.
- Once Flutter is downloaded, create a new folder in your home directory called `Developer`. Inside the `Developer` folder, create a new folder called `sdk`. The new path should be `/Users/<YourUsernameHere>/Developer/sdk`. - Once Flutter is downloaded, create a new folder in your home directory called `Developer`. Inside the `Developer` folder, create a new folder called `sdk`. The new path should be `/Users/<YourUsernameHere>/Developer/sdk`.
- Extract the Flutter zip and move the `flutter` folder into your new `sdk` folder. - Extract the Flutter zip and move the `flutter` folder into your new `sdk` folder.
- Open the `flutter` folder and copy the path to the `bin` folder. This path should be `/Users/<YourUsernameHere>/Developer/sdk/flutter/bin`. - Open the `flutter` folder and copy the path to the `bin` folder. This path should be `/Users/<YourUsernameHere>/Developer/sdk/flutter/bin`.
# Adding Flutter to Your Path # Adding Flutter to Your Path
- These next steps depend on your operating system: - These next steps depend on your operating system:
## macOS ## macOS
1. In `Terminal`, type `vi ~/.zshrc`. 1. In `Terminal`, type `vi ~/.zshrc`.
2. At the bottom of your `.zshrc` file, add a the following line: `export PATH=~/Developer/sdk/flutter/bin:$PATH`. 2. At the bottom of your `.zshrc` file, add a the following line: `export PATH=~/Developer/sdk/flutter/bin:$PATH`.
3. Hit `Escape` and type `:wq`. This should return you to the command line. 3. Hit `Escape` and type `:wq`. This should return you to the command line.
...@@ -15,6 +18,7 @@ ...@@ -15,6 +18,7 @@
5. Verify that Flutter is now on your path by typing `flutter`. You should see a list of arguments for Flutter. 5. Verify that Flutter is now on your path by typing `flutter`. You should see a list of arguments for Flutter.
## Windows ## Windows
1. Right-click the Windows logo and select `System`. 1. Right-click the Windows logo and select `System`.
2. Click `Advanced System Settings` on the right hand side of the screen under `Related Settings`. This should open a `System Properties` window. 2. Click `Advanced System Settings` on the right hand side of the screen under `Related Settings`. This should open a `System Properties` window.
3. Click the `Environment Variables...` button in the bottom-right of the pop-up. 3. Click the `Environment Variables...` button in the bottom-right of the pop-up.
...@@ -24,3 +28,8 @@ ...@@ -24,3 +28,8 @@
7. Verify that Flutter is now on your path by typing `flutter`. You should see a list of arguments for Flutter. 7. Verify that Flutter is now on your path by typing `flutter`. You should see a list of arguments for Flutter.
_**You now have Flutter installed, congrats!**_ _**You now have Flutter installed, congrats!**_
# What Should I Do Next?
- Next you should run the `flutter doctor -v` command and see what needs to be done to complete set up.