Open (or create) the rc file for your shell.
Typing echo $SHELL in your Terminal tells you
which shell you’re using.
If you’re using Bash,
edit $HOME/.bash_profile or $HOME/.bashrc.
If you’re using Z shell, edit $HOME/.zshrc.
If you’re using a different shell, the file path
and filename will be different on your machine.

Add the following line and change
[PATH_OF_FLUTTER_GIT_DIRECTORY] to be
the path of your clone of the Flutter git repo:

    
$ export PATH="$PATH:[PATH_OF_FLUTTER_GIT_DIRECTORY]/bin"

Run source $HOME/.<rc file>
to refresh the current window,
or open a new terminal window to
automatically source the file.

Verify that the flutter/bin directory
is now in your PATH by running: