📜  如何在 macos 上安装 curl - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:04.796000             🧑  作者: Mango

代码示例1
1.Press Command+Space and type Terminal and press enter/return key.
Run in Terminal app:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2> /dev/null

2.and press enter/return key.
If you are prompted to enter your Mac user password, enter it (when you type it, you wont see it on your screen/terminal.
app but it would accept the input; this is to ensure no one can see your password on your screen while you type it.
So just type password and press enter, even if you dont see it on your screen). Then wait for the command to finish.

3.install from brew
brew install curl