Command

macOS terminal

  • echo $PATH # print the PATH

  • cd $HOME # to home page

  • ls -al # list all file in current folder

  • touch .bash_profile # create file

  • open -e .bash_profile # open file for editing

  • export VARIABLE_NAME=/Users/user/Library/Android/sdk # define the variable for path

  • export PATH=${PATH}:${VARIABLE_NAME}/tools # append the tools path to PATH

  • source .bash_profile # update the PATH now

results matching ""

    No results matching ""