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

你可能感兴趣的:(MacOS下出现-bash: 命令: command not found的解决)