"$ which flutter dart" code example
Example 1: install flutter
C:\src>git clone https://github.com/flutter/flutter.git -b stable
Example 2: install flutter
$ sudo snap install flutter --classic
C:\src>git clone https://github.com/flutter/flutter.git -b stable
$ sudo snap install flutter --classic