Solution to slow download on github

  • Ordinary method
git clone https://github.com/xxx/xxx

Insert picture description here

  • Updated
git clone https://github.com.cnpmjs.org/xxx/xxx

Insert picture description here

  • NPM (Node Package Manager)
    NPM is a package management tool installed with NodeJS. It can solve many problems in NodeJS code deployment. There are several common usage scenarios:
    • Allow users to download third-party packages written by others from the NPM server to local use.
    • Allow users to download and install command line programs written by others from the NPM server for local use.
    • Allow users to upload their own packages or command line programs to the NPM server for others to use.

Reference Materials
Git clone is too slow a new method [I actually know]
Git Clone is too slow to clone a warehouse, what should I do?
What does npm do? (Non-tutorial)
What is npm?
Introduction to NPM

Guess you like

Origin blog.csdn.net/studyeboy/article/details/111854084