Install on Linux #
Open a terminal.
cd ~
git clone https://github.com/flutter/flutter.git -b stable
You need to figure out what shell you are using.
echo $SHELL
Edit $HOME/.bashrc
or $HOME/.zshrc
depending on the output.
Add following line at the end of the file:
export PATH="$PATH:$HOME/flutter/bin"
Logout and back in again.
Install Chrome you don’t have it already.
If you rather use Chromium instead Chrome, then you also need to add the following to your shells configuration file (.bashrc
or .zshrc
).
export CHROME_EXECUTABLE="`which chromium`"
Run:
flutter doctor
You should have a checkmark on the following items
[✓] Flutter
[✓] Chrome - develop for the web
Next you will install Android toolchain and Android Studio.