
Open a new terminal and test the Flutter SDK by entering the following command: flutter -version We should now close the terminal program and re-open it again for the change to take effect. Next, hit ⌃/Control + o to save the file. Let’s add a line to the end of this script file:įor example: export PATH="$PATH:/Users/codecademy/flutter/bin"Īgain, use the username instead of codecademy here. Note that the username codecademy should be replaced with our username on the Mac. In our terminal, we first open the script file:įor example: nano /Users/codecademy/.zshrc We will use the nano editor, but you can use any editor code type editor for this step. Now we know the shell script to use we can edit the path to include an additional entry for the bin folder inside our Flutter SDK folder. Let’s edit them and add a path to the Flutter SDK. If we see /bin/zsh, we will instead modify. The command will output the active shell in use. Once the Terminal is open, type the following to determine the shell our Mac uses. We can open up a terminal by typing ⌘/Command + Space and typing terminal. On a Mac, the shell is responsible for launching other programs.įor more information about using the terminal command line, we can learn more about using it. This requires the terminal to update our shell configuration. We now need to tell our Mac about the Flutter SDK. Note that the word codecademy should be replaced with our username on the Mac. For we could put the Flutter SDK in our user directory /Users/codecademy/flutter. Make a note of which chipset your Mac is using, and now we will download the correct Flutter SDK for our computer.ĭownload the Flutter SDK for the correct chipset andĮxtract the zip into a new Flutter folder on our hard drive.

Selecting will open a dialog where we can find our chipset information. First, open the Apple menu in the top left corner of your screen and select About This Mac. We should check this before we begin with our installation. The chipset of our Mac will be either Apple (arm64) or Intel (圆4). This article will take us through the steps necessary to install that SDK. The Flutter SDK consists of various tools and programs that allow for Flutter development.
