Error Installing Homebrew - Brew Command Not Found

后端 未结 7 1227
孤独总比滥情好
孤独总比滥情好 2020-12-24 11:51

I\'ve spent the bulk of my Friday trying to get the latest version of Ruby installed on my new MacBook Air (w/ Mountain Lion installed).

I have all the latest versio

7条回答
  •  别那么骄傲
    2020-12-24 12:35

    nano ~/.profile
    

    add these lines:

    export PATH="$HOME/.linuxbrew/bin:$PATH"
    export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
    export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
    

    save the file:

    Ctrl + X then Y then Enter

    then render the changes:

    source ~/.profile

提交回复
热议问题