Bypassing prompt (to press return) in homebrew install script

前端 未结 5 1588
灰色年华
灰色年华 2020-12-25 11:50

Very simple script that installs homebrew:

  #!/bin/bash

  ruby -e \"$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)\"

T

5条回答
  •  时光说笑
    2020-12-25 12:36

    Per the lead maintainer of Homebrew:

    echo | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
    

提交回复
热议问题