Mac 终端命令行报错 -bash: vi: command not found

前段时间在 Mac 下使用终端遇到了这个问题: appledeMacBook-Air:~ air$ vi .bash_profile -bash: vi: command not found 如图所示:   解决方法: 1. 在命令行中输入: export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin 这样可以保证命令行命令暂时可以使用。命令执
相关文章
相关标签/搜索