brew slow to download? Not so that add a variety of sources?

brew

Slow downloads, add a variety of sources is not so. Motrix download fast, arrangements!

Such as installing Electron. The installation command brew cask install electronpost, download progress ... but slow or even stagnant Download and install the package cache file name Electron have everything.

Abort the installation command, copy the installation package Download with Motrix to download the file downloads in the Homebrew cache directory cache folder after the file name to the file name, and then perform the aforementioned install command again.

# 安装包的下载地址,执行安装命令后,在 shell 中可见。
# 安装包的缓存文件,执行安装命令后,在 Homebrew 的缓存目录下的 downloads 文件夹中可见。

# Homebrew 的缓存目录下的 downloads 文件夹:
cd $(brew --cache)/downloads
# ~/Library/Caches/Homebrew/downloads

Mobile installation package, renamed, downloaded to the default path for Morix ~ / Downloads after, again mvrequired.
.

Not installed Motirx? Install it:

brew cask install motrix

.
.
.

Guess you like

Origin www.cnblogs.com/crazygrass/p/10588281.html