Skip to content

Instantly share code, notes, and snippets.

@coolaj86
Last active April 28, 2020 21:23
Show Gist options
  • Save coolaj86/154250bb47c4b9e2c6c2a774c543fd54 to your computer and use it in GitHub Desktop.
Save coolaj86/154250bb47c4b9e2c6c2a774c543fd54 to your computer and use it in GitHub Desktop.

Easy way

https://webinstall.dev/flutter

curl https://webinstall.dev/flutter | bash

Hard way

Download flutter:

See https://flutter.dev/docs/get-started/install

# Mac, for Example
wget -c 'https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_v1.12.13+hotfix.9-stable.zip'

Install flutter:

mkdir -p ~/.local/opt/
unzip flutter_*.zip
mv flutter ~/.local/opt/

Add to PATH:

npm install -g pathman
pathman add ~/.local/opt/flutter/bin
export PATH="$HOME/.local/opt/flutter/bin/:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment