Megatools - command line client for Mega.nz
Megatools is a collection of programs for accessing Mega.nz service from a command line of your desktop or server.
Megatools allow you to copy individual files as well as entire directory trees to and from the cloud. You can also perform streaming downloads for example to preview videos and audio files, without needing to download the entire file.
You can register account using a 'megareg' tool, with the benefit of having true control of your encryption keys.
Megatools are robust and optimized for fast operation - as fast as Mega servers allow. Memory requirements and CPU utilization are kept at minimum.
Megatools are reasonably simple and cleanly written. You can skim the entire code in an afternoon and see what it does. You can be completely in control of the update process for megatools. Pace of development is slow and changes are easy to review. This is all important if you value your security, as shown by issues with browser based solutions (mega.nz browser extension hacked). Megatools was written to avoid such issues.
Mega website can be found at mega.nz.
Support the project
Megatools is Free and opesource software. It is an independent personal project not backed by any comapny or commercial interests. If you benefit from megatools or would like to see it improve and grow, you can contribute by writing code.
News
Keep yourself in the loop about new releases and features via RSS.
See the NEWS file for detailed description of changes.
- 2024-10-28
- Megatools 1.11.1 static builds rebuilt with latest dependencies. Windows and some AVs misdetect previous build as containing malware. If in doubt read CHECKSUMS.TXT.
- 2023-02-12
- Megatools 1.11.1 released with some bugfixes.
- 2022-09-19
- Megatools 1.11.x experimental build released with some bugfixes.
- 2022-05-19
- Megatools 1.11.0 released with new features and bugfixes.
- 2022-04-01
- New megatools experimental builds are available, with updated dependencies fixing security issues.
- 2021-10-29
- New megatools experimental builds are available, with updated dependencies and TLS session cache disabled [fixed].
- 2021-05-05
- New megatools experimental builds are available, with updated dependencies and some fixes.
- 2020-08-30
- New megatools experimental builds are available, with updated dependencies.
- 2020-05-03
- New megatools experimental builds are available, with contributed support for new login flow.
- 2020-05-01
- New megatools experimental builds are available, with a minor fix.
- 2020-04-04
- New megatools experimental builds are available, with updated dependencies and support for new mega.nz links format.
- 2019-11-07
- New megatools experimental builds are available, with updated dependencies.
- 2019-06-08
- New megatools experimental builds are available, with some bugfixes.
- 2019-04-13
- Megatools moved off github.
- 2019-03-24
- New megatools experimental builds are available, added support for IPv6 and source IP address/network interface selection.
- 2019-03-05
- New megatools experimental builds are available, added test and export tools.
- 2019-02-26
- New megatools experimental builds for macOS, contributed by a user.
- 2019-01-07
- New megatools experimental builds are available.
- 2018-11-26
- New megatools experimental builds are available.
- 2018-10-31
- Megatools 1.11.x has experimental builds now include a few new architectures: MIPS little-endian, i686, and a special build with Windows XP support.
- 2018-10-04
- Megatools 1.11.x development branch now features regular experimental releases with pre-built static binaries for Windows and Linux. Check it out in the Download section below.
- 2018-07-31
- Megatools 1.10.2 released with a hotfix for mega.nz api quirk.
- 2018-07-27
- Megatools 1.10.1 released with some fixes and a file chooser for folder downloads.
- 2018-07-22
- Megatools 1.10.0 released with some fixes for upload.
- 2018-07-19
- Megatools 1.10.0-rc2 release candidate released with some fixes for upload.
- 2018-07-19
- Megatools 1.10.0-rc1 release candidate released with major optimizations and new features: multi-connection upload, interrupted download resumption, and maxing out a gigabit LAN on a cheap VPS is now possible.
- 2016-11-03
- Megatools 1.9.98 released with bugfixes and some new features.
- 2016-02-02
- Megatools 1.9.97 released with bugfixes.
- 2016-01-02
- Megatools 1.9.96 released with bugfixes.
- 2015-04-15
- Megatools 1.9.95 released with bugfixes.
- 2015-01-02
- Megatools 1.9.94 released with bugfixes.
- 2014-10-24
- Megatools 1.9.93 released with bugfixes.
- 2014-08-24
- Megatools 1.9.92 released with many bugfixes, solved annoying server busy errors, and windows package updates (new 64bit package!).
- 2013-04-15
- Megatools 1.9.91 released with bugfixes and all new man pages.
- 2013-04-12
- Megatools 1.9.90 released under GPL with new experimental libmega library which supports multiple language bindings via gobject-introspection. JavaScript (GJS), Python, LUA, Ruby,... pick your own. Json-glib dependency was dropped in favor of sjson. Libcurl will get dropped soon. More info in the NEWS file.
- 2013-04-11
- Megatools 1.2.2 released with many bugfixes
- 2013-03-12
- Megatools now support OpenSUSE 12.1+
- 2013-03-12
- Megatools now support shared folders, downloading exported folders, video/image thumbanils, and contacts management!
- 2013-03-10
- Megatools now play well with major linux distros, Ubuntu 12.04+, Fedora 17+, Arch Linux, Suse,... Mega library for building your own tools is now available!
- 2013-03-09
- You can now register new Mega accounts with megareg tool
- 2013-03-08
- Megatools 1.0.0 released
Manual pages
Manual pages for the tools are included in the packages. On Linux you can access them as usual, via 'man megatools'.
You can also view the online manual pages.
Video
Showcase of megatools in a video:
Download
Static builds for Windows and various Linux architectures are provided in the builds directory.
You can download the latest versioned release of the source code here:
- megatools-1.11.1.20241028.tar.gz (103 kB)
- megatools-1.11.1.20241028.tar.gz.asc
- For older versions see Archive
You can also use Chocolatey to install megatools on Windows thanks to ERap320.
Installation
To install megatools on Arch Linux you can use the package megatools from the official repositories.
Thanks to Alberto Garcia, megatools was accepted into debian unstable, so you can use apt-get to install it easily.
Bugs and support
Please report bugs via email:
Read e-mail archive here: show mail archive
Development
Project status: megatools are maintained.
You can join development of megatools simply by sending questions, ideas, bugreports and patches to the above mailing address.
GIT repository is available at: https://megous.com/git/megatools.