Skip to content
This repository was archived by the owner on Feb 18, 2021. It is now read-only.

Latest commit

 

History

History
96 lines (66 loc) · 4.45 KB

File metadata and controls

96 lines (66 loc) · 4.45 KB

Flutter Installer

GitHub issues GitHub forks GitHub stars GitHub license

English | Indonesia

Installation toolkit for Flutter SDK, including Android SDK and Java SDK if not installed (automatic detection).

How to run

Download HERE, extract and run right away.

Please remember the system requirements (windows/linux/macos) needed before running this application. On Linux and MacOS if it doesn't work or there is a permission error, please do chmod +x flutter_installer_cli first.

Please report to issues if it fails or something wrong. If you cannot use github issues, contact directly to Telegram @daffaalam.

Custom Installation Path

By default flutter will be installed in C:\Development for Windows and ~/Development for Linux and MacOS. For custom installation path you can use the path flag.

For Windows example:

.\flutter_installer_cli.exe --path E:\Dev

or for Linux and MacOS example:

./flutter_installer_cli --path /home/user/Dev

Custom Flutter Version

By default it will take the latest flutter version from the stable channel. If you want to use another version, use the channel and version flags. Use the version name from https://flutter.dev/docs/development/tools/sdk/releases.

For example to get the latest beta channel:

./flutter_installer_cli --channel beta

you can also choose the version:

./flutter_installer_cli --version v1.12.13+hotfix.9

and can also combine two flags:

./flutter_installer_cli --channel beta --version v1.14.6

If the version and channel do not find a match, it will retrieve the latest this channel version (by default it is a stable channel).

Screenshots

screenshot

Features

  • Windows, Linux, and MacOS support.
  • Detects whether Android Studio and or Visual Studio Code is already installed.
  • Detects whether Android SDK, Java SDK and Flutter SDK are installed.
  • Check the latest versions of Android SDK, Java SDK, and Flutter SDK.
  • Install Android SDK, Java SDK, and Flutter SDK.
  • Install Flutter and Dart plugin for Visual Studio Code and Android Studio.
  • Choose the previous flutter version.
  • Choose a custom installation path.

TODO

  • high - Implementation to the GUI (flutter) version.
  • low - Documentation of each code and feature.
  • low - Language improvement (I'm very bad at English).
  • low - Clean code.

Contributing (Only for Developers)

When contributing to this repository, please first discuss the change you wish to make via github issues, email, or any other method with the owners of this repository before making a change.

Running the tests

  1. Create a new virtual machine with VirtualBox or something.
  2. Run it from Command Prompt, PowerShell, or Terminal, don't run it from double click, so you can see the crash message before the program exits.

Deployment

  1. Clone or download this repository.
  2. Install Dart from https://dart.dev/get-dart.
  3. Run on project: dart2native bin/flutter_installer_cli.dart.
  4. Tip: If you don't have MacOS, you can use CI/CD Codemagic or Gitlab.

Other

(Obsolete) Batch file (.bat) version here.

License

This project is licensed under the MIT License - see the LICENSE file for details.