Skip to content

Dart / Flutter

To install Flutter, I found it easiest to

  1. Install the flutter-bin package

  2. Add yourself to the flutter usergroup

    Terminal window
    sudo usermod -a -G flutter <username>
  3. Disable analytics

    Terminal window
    flutter config --no-analytics
  4. Install Android Studio, using the android-studio package, for Android development.

  5. Run android-studio to install the SDK to ~/Android/Sdk

  6. Open the SDK Manager, by clicking on More Actions then on SDK Manager

  7. Select the tab SDK Tools

  8. Install the Android SDK Command-line Tools (latest)

  9. Install Google Chrome, using the google-chrome package, for Web development.

  10. Set the CHROME_EXECUTABLE environment variable to google-chrome-stable

    ~/.config/nushell/user.nu
    $env.CHROME_EXECUTABLE = "google-chrome-stable"
  11. Make sure Flutter doesn’t cry

    Terminal window
    flutter doctor