Command
macOS terminal
echo $PATH# print the PATHcd $HOME# to home pagels -al# list all file in current foldertouch .bash_profile# create fileopen -e .bash_profile# open file for editingexport VARIABLE_NAME=/Users/user/Library/Android/sdk# define the variable for pathexport PATH=${PATH}:${VARIABLE_NAME}/tools# append the tools path to PATHsource .bash_profile# update the PATH now