赞
踩
- export OHPM_HOME=/Users/XXX/Library/Huawei/ohpm //替换为刚才查找的ohpm路径
- export PATH=${PATH}:${OHPM_HOME}/bin
如果有ohpm路径,即配置成功
注:如果上述配置不成功,需要配置下面命令:
- zsh:
- 1. touch ~/.zshrc
- 2. open ~/.zshrc
- 3. 把 export OHPM_HOME=/Users/XXX/Library/Huawei/ohpm //替换为刚才查找的ohpm路径
- export PATH=${PATH}:${OHPM_HOME}/bin
- 粘贴进去,保存即可
- 4. source ~/.zshrc
-
- bash:
- 1. touch ~/.bash_profile
- 2. open ~/.bash_profile
- 3. 把 export OHPM_HOME=/Users/XXX/Library/Huawei/ohpm //替换为刚才查找的ohpm路径
- export PATH=${PATH}:${OHPM_HOME}/bin
- 粘贴进去,保存即可
- 4. source ~/.bash_profile
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。