解决mac安装homebrew后报错-bash: brew: command not found
2017-08-21 14:49
2306 查看
解决mac安装homebrew后报错-bash: brew: command not found
参照官网上很简单的一句安装命令,/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"[/code] 安装完毕后,发现使用brew命令,却总是提示:-bash: brew: command not found/usr/local/bin不在PATH中找到解决方式。其实解决这个问题真的很简单。如下:sudo vim .bash_profile添加:
PATH=“.;$PATH:/usr/local/bin”保存,source .bash_profile使配置修改生效。重新启动终端 再次使用brew 命令就ok了。
相关文章推荐
- 解决mac安装homebrew后报错-bash: brew: command not found
- mac 安装 MySQL报错 -bash: mysql: command not found
- Mac OS X下修改.bash_profile之后source .bash_profile出现“command not found”问题解决
- Mac 解决问题:-bash: gdb: command not found &/usr/local/share/man/man5 is not writable.
- 【转】mac终端安装node时候,显示“-bash: brew: command not found”,怎么解决?
- Centos7 Minni 安装 执行ifconfig命令出现 -bash ifconfig command not found 的解决方法
- mac上 go-delve 安装出现The specified item could not be found in the keychain 解决方法
- 安装telnet 关于telnet localhost 8000 -bash: telnet: command not found
- 两种方法解决Linux wget报错-bash: wget command not found
- bash scp command not found的解决方法
- MySQL问题解决:-bash:mysql:command not found
- mac 下的 bash gradle command not found
- 在MAC系统安装Apache Tomcat的详细步骤(.sh command not found?)
- mac 下的 bash gradle command not found
- 使用pecl安装php扩展时出错-bash: pecl: command not found
- MAC-nodejs与npm安装报错"-bash : npm: command not found"
- scp 传文件出现"-bash: scp: command not found "的解决办法
- 解决linux64位安装jpeg 出错make: ./libtool: Command not found
- Homebrew安装时”-bash:brew:command not found”的问题
- 解决-bash: lsb_release: command not found