The Missing Package Manager for macOS (or Linux) — Homebrew
export http_proxy=http://127.0.0.1:4780
export https_proxy=http://127.0.0.1:4780
/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/lxy/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
brew install wget zsh curl
brew install node nodejs yarn npm
echo 'export PATH="/opt/homebrew/opt/curl/bin:$PATH"' >> ~/.zshrc
export LDFLAGS="-L/opt/homebrew/opt/curl/lib"
export CPPFLAGS="-I/opt/homebrew/opt/curl/include"
brew install python
echo 'export PATH="/opt/homebrew/opt/[email protected]/libexec/bin:$PATH"' >> ~/.zshrc
wget <https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh> -O ~/miniconda.sh
bash ~/miniconda.sh -b -p $HOME/miniconda