This is the 10th day of my participation in the November Gwen Challenge. Check out the details of the event: the last Gwen Challenge 2021

Install the Flutter in Windows

Install the Flutter in macOS environment

Hello everyone, I’m Nuts, the public account “Nut Front”

Install Flutter in Linux

Manual erection of Flutter

If you don’t have Snapd, or you can’t use it, you can install Flutter by following these steps.

  1. To obtain the latest Stable Release of the Flutter SDK, download the following installation package:

    Flutter_linux_2. 5.2 stable. Tar. Xz

    For other release channels and longer builds, check out the SDK release page.

  2. Unzip the file to an appropriate location, for example:

    $CD ~/development $tar xf ~/Downloads/ Flutter_linux2.5.2 - ststable. Tar.xzCopy the code

    If you do not want to install the Flutter patch, you can skip steps 1 or 2 and directly obtain the source of the Flutter repository on Github and run the following command:

    $ git clone https://github.com/flutter/flutter.git
    Copy the code

export PATH="$PATH:`pwd`/flutter/bin"
​
Copy the code

You can also switch branches or tags as you like. For example, you can use the stable version of the branch:

$ git clone https://github.com/flutter/flutter.git -b stable
Copy the code

Add the FLUTTER tool to the environment variable:

$ export PATH="$PATH:`pwd`/flutter/bin"
Copy the code

Adding PATH with this command only works on the current command line window. To permanently add Flutter to an environment variable, see Updating your Path.

Optional step to download binary development files in advance:

The Flutter tool will download the required platform-specific development binaries. It is better to pre-download these artifacts (for example, in a system build environment where the network may be down) by running the following command to pre-download the iOS and Android binaries:

$ flutter precache
Copy the code

For these optional downloads, refer to flutter Help Precache.

You can now run the Flutter command!

prompt

To update existing Flutter versions, see Upgrading Your Flutter.

Run the flutter doctor

Run the following command to see if there are any missing dependencies that you need to install to complete the setup (add the -v flag to see detailed output) :

$ flutter doctor
Copy the code