Mac install yarn 2020-10-18

brew install yarn 

if the save Failed to connect to port 443 Connection refused, because no Homebrew

normally installs Homebrew

/bin/bash -c "$(curl -fsSL"

but due to some of the you understand factors, lead to a lot of DNS has been polluted.


is solved directly using this open source script with one click:

Homebrew domestic automatic installation script

/bin/zsh -c "$(curl -fsSL"

is then loaded with yarn

brew install yarn

Read More: