/Flutter-goinfre-installer

A script to set up Flutter framework and Android Studio for 42 students in the goinfre directory.

Primary LanguageShell

Flutter-goinfre-installer

A script to set up Flutter framework and latest version of Android Studio for 42 / 1337 students in the goinfre directory.

How to use

  1. Clone the repository
  2. Run the script with
bash ./installer.sh
  1. Add the following lines to your .zshrc/.bashrc file
export PATH="$PATH:$HOME/goinfre/flutter/bin"
export PATH="$PATH:$HOME/goinfre/flutter/bin/cache/dart-sdk/bin"
  1. Restart your terminal or run 👇
source ~/.zshrc
  1. Don't forget to change SDK location in Android Studio to goinfre 👇👇

ScreenShot

For lazy people

git clone git@github.com:Ajjig/Flutter-goinfre-installer.git && cd Flutter-goinfre-installer && bash ./installer.sh && echo "export PATH=\"\$PATH:\$HOME/goinfre/flutter/bin\"" >> ~/.zshrc && echo "export PATH=\"\$PATH:\$HOME/goinfre/flutter/bin/cache/dart-sdk/bin\"" >> ~/.zshrc && cd .. && source ~/.zshrc