jorgebucaran / nvm.fish

The Node.js version manager you'll adore, crafted just for Fish
https://git.io/nvm.fish
MIT License
2.06k stars 69 forks source link

Use axel if it's available to speed up downloads #215

Closed itsfarseen closed 10 months ago

itsfarseen commented 10 months ago

I have a 300mbps connection at home.
Yet, curl was downloading at a speed of ~200kbps.
Download is really fast using axel or aria2c.

In this PR, I added an if condition above the curl download section to check if axel is available and use that instead.

jorgebucaran commented 10 months ago

Axel sounds intriguing, but I'm not quite ready to dive in and integrate it with nvm.fish just yet. Perhaps in the future. Thanks!