Homebrew 安装和加速访问
是一款包管理工具,目前支持macOS和linux系统。主要有四个部分组成: brew、homebrew-core 、homebrew-cask、homebrew-bottles。
按照macOS的教程第一次尝试安装homebrew,效果如下:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Operation timed out
443命令行被墙了,建议设置githubusercontent的镜像为中科大镜像:
/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)"
Homebrew is not (yet) supported on ARM processors!
Rerun the Homebrew installer under Rosetta 2.
If you really know what you are doing and are prepared for a very broken experience you can use another installation option for installing on ARM:
https://docs.brew.sh/Installation
又遇到问题
arch -x86_64 /bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)"
Use this to install packages:
arch -x86_64 brew install <package>
</package>
安装Rosetta 2
softwareupdate --install-rosetta
参考教程
Git
自带 不用安装
arch -x86_64 brew install git
Nodejs
完成 官网下载安装包安装即可
Notepad++ 替代品
atom?
Typora
Webstrom
2020.3
Yarn
官网Homebrew方式安装方法:
brew install yarn
arch -x86_64 brew install yarn
我
arch -x86_64 brew install
Snipaste
安装了好像不知道怎么用
直接用内置 快捷键:commad shfit 4/3
微信开发者工具
完成
Adobe全家桶
完成
网友评论