shrop / dotfiles

$HOME sweet ~/
7 stars 4 forks source link

Install Flutter if it doesn't exist #26

Open shrop opened 3 years ago

shrop commented 3 years ago

Add something like below to the bootstrap script. Sample code by Bayo Fodeke.

# Install Flutter if it doesn't exist.
  if ! command -v flutter &> /dev/null; then
    mkdir -p $HOME/development
    git clone https://github.com/flutter/flutter.git -b stable
    mv flutter $HOME/development/
  fi