命令行配置macos 网卡
See my how to use the macOS terminal post too
也请参阅我如何使用macOS终端机帖子
如何设置macOS命令行 (How to setup the macOS command line)
I just got a new MacBook Air to replace my beloved 2010 MacBook Pro, and I decided to document the process of setting up the command line.
我刚买了一部新的MacBook Air来代替我心爱的2010 MacBook Pro,所以我决定记录设置命令行的过程。
By default here’s what we have:
默认情况下,这是我们拥有的:
We’re going to have a much better terminal at the end of this article.
在本文的结尾,我们将有一个更好的终端。
First thing is, install Homebrew. Head to https://brew.sh and copy the magic formula in your terminal, which should be:
首先是安装Homebrew 。 转到https://brew.sh并在您的终端中复制魔术公式,该公式应为:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"