Open terminal, go to home directory.
dev directory and install flutter.
$ mkdir dev
$ cd dev
$ git clone https://github.com/flutter/flutter.git -b stable --depth 1
get currenct directory:
$ pwd output:
Add flutter path in
Open new terminal:
pre-download development binaries:
$ flutter precache. This will download some files.
$ flutter doctor to check dependencies.
$ flutter doctor --android-licenses and press
enter to accept licenses.