执行yii2控制台命令时报错:-bash: yii: command not found

时间:2018-12-20 12:48:12   收藏:0   阅读:1217

MacOS下出现-bash: 命令: command not found的解决

1.在终端输入:vim ~/.bash_profile

2.在里面添加:export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin:.

3.在:wq后,输入:source  ~/.bash_profile

原文:https://www.cnblogs.com/xuwenjie/p/10148321.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!