Linux install: Get the Flutter SDK

Get the Flutter SDK

  1. Download the following installation bundle to get the latest stable release of the Flutter SDK: flutter_linux_v1.9.1+hotfix.6-stable.tar.xz For other release channels, and older builds, see the SDK archive page.
  2. Extract the file in the desired location.
  3. Add the flutter tool to your path.
  4. Optionally, pre-download development binaries.

Run flutter doctor

Run the 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

Update your path

  1. Determine the directory where you placed the Flutter SDK. You need this in Step 3.
  2. Open (or create) the rc file for your shell. For example, Linux uses the Bash shell by default, so edit $HOME/.bashrc. If you are using a different shell, the file path and filename will be different on your machine.
  3. Add the following line and change [PATH_TO_FLUTTER_GIT_DIRECTORY] to be the path where you cloned Flutter’s git repo:.
  4. Run source $HOME/.<rc file> to refresh the current window, or open a new terminal window to automatically source the file.
  5. Verify that the flutter/bin directory is now in your PATH by running: $ echo $PATH.
  6. Verify that the flutter command is available by running: $ which flutter.

Update path directly

  1. Determine the directory where you placed the Flutter SDK.
  2. Locate the etc directory at the root of the system, and open the profile file with root privileges.
  3. Update the PATH string with the location of your Flutter SDK directory.
  4. End the current session or reboot your system.
  5. Once you start a new session, verify that the flutter command is available by running: $ which flutter.

Linux install: Get the Flutter SDK — Structure map

Clickable & Draggable!

Linux install: Get the Flutter SDK — Related pages: