1. 新建 .base_profile

labelnet:~ yuan$ source .bash_profile

2. 编辑

labelnet:~ yuan$ open -e .bash_profile
export ART_HOME=/Users/yuan/automation/artifactory-jfrog/artifactory
export PATH=$ART_HOME/bin:$PATH

3. 生效

labelnet:~ yuan$ source .bash_profile