Bypassing prompt (to press return) in homebrew install script

前端 未结 5 1610
灰色年华
灰色年华 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条回答
  •  -上瘾入骨i
    2020-12-25 12:46

    This works fine for me,

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null
    

提交回复
热议问题