Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| development:tools:flutter_development_machine:flutter:start [2021/07/22 16:00] – roy.lee | development:tools:flutter_development_machine:flutter:start [2021/07/22 16:21] (current) – roy.lee | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ==== Updating your path ==== | ==== Updating your path ==== | ||
| + | |||
| + | Determine the path of your clone of the Flutter SDK. | ||
| + | i.e. '' | ||
| * From the Start search bar, enter ‘env’ and select Edit environment variables for your account. | * From the Start search bar, enter ‘env’ and select Edit environment variables for your account. | ||
| Line 17: | Line 20: | ||
| You have to close and reopen any existing console windows for these changes to take effect. | You have to close and reopen any existing console windows for these changes to take effect. | ||
| - | full path to flutter\bin example: | + | ==== Run flutter doctor ==== |
| + | From a console window that has the Flutter directory in the path, run the command '' | ||
| + | |||
| + | The command checks | ||
| + | |||
| + | You may read more on this at [[https:// | ||
| + | |||
| + | ===== Mac Installation ===== | ||
| + | ==== Extracting Flutter ==== | ||
| + | |||
| + | It is recommended to place the extracted flutter the zip file in the folder where all your projects will be. | ||
| + | |||
| + | ==== Updating your path ==== | ||
| + | |||
| + | Determine the path of your clone of the Flutter SDK. | ||
| + | i.e. '' | ||
| + | |||
| + | * Type echo $SHELL in your terminal to determine the shell you are using. | ||
| + | * If you are using Bash, create or edit $HOME/ | ||
| + | * If you are using Z shell, create or edit $HOME/ | ||
| + | * Add the following to your rc file, where [PATH_OF_FLUTTER_GIT_DIRECTORY] is the path of your clone of the Flutter | ||
| + | < | ||
| + | export PATH=" | ||
| + | </ | ||
| + | * Run '' | ||
| ==== Run flutter doctor ==== | ==== Run flutter doctor ==== | ||
| Line 24: | Line 52: | ||
| The command checks your environment and displays a report of your flutter installation. Please read the output and solve any issues that may appear. | The command checks your environment and displays a report of your flutter installation. Please read the output and solve any issues that may appear. | ||
| - | You may read more on this at [[https:// | + | You may read more on this at [[https:// |