Add Environment Variables - XXOK/XXOK-selenium GitHub Wiki

Add Environment Variables

$ vi ~/.bash_profile

Insert

export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home

export ANDROID_HOME=/Users/cell/Library/Android/sdk

export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

Save

:wq

Linux 문서편집기 vi, vim 명령어 정리 http://hyeonstorage.tistory.com/274