change flutter path code example
Example 1: flutter update path
export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin"
echo $PATH
which flutter
Example 2: flutter sdk path
where flutter
Example 3: install flutter
$ sudo snap install flutter --classic