DEV Community

Michael
Michael

Posted on

Slow downloading on corporate proxies? Try aria2!

Disclosure

This is for if you have troubles downloading large files while on a company network, or want to download files faster using Linux or Mac.

Steps

1). Download aria2

  • Through brew: brew install aria2
  • Other systems: https://aria2.github.io/
  • Ubuntu Example: Downloading with Ubuntu

2). cd to your downloads directory.

3). Run the following command:

aria2c --file-allocation=none -c -x 10 -s 10 $URL
Enter fullscreen mode Exit fullscreen mode

4). Replace $URL with the download URL of the file you are trying to pull.

  • On the corporate network, downloading the docker for mac was taking upwards of an hour.
  • Downloading with aria2c:

Quick Download

The download was much quicker due to multi-threaded downloads! 😄

Shoutouts

Credit to Aria2 for an awesome downloading tool!

Credit to hmj6jmh on StackOverflow for the solution they posted to "How to make wget faster or multithreading?" which helped me solve my frustration downloading while on corporate networks.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay