Megatools - command line client for

Megatools is a collection of programs for accessing 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.

Mega website can be found at

If you benefit from megatools or would like to see it improve and grow, you can support the author on Patreon


Keep yourself in the loop about new releases and features via RSS.

Megatools 1.9.98 released with bugfixes and some new features.
Megatools 1.9.97 released with bugfixes.
Megatools 1.9.96 released with bugfixes.
Megatools 1.9.95 released with bugfixes.
Megatools 1.9.94 released with bugfixes.
Megatools 1.9.93 released with bugfixes.
Megatools 1.9.92 released with many bugfixes, solved annoying server busy errors, and windows package updates (new 64bit package!).
Megatools 1.9.91 released with bugfixes and all new man pages.
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.
Megatools 1.2.2 released with many bugfixes
Megatools now support OpenSUSE 12.1+
Megatools now support shared folders, downloading exported folders, video/image thumbanils, and contacts management!
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!
You can now register new Mega accounts with megareg tool
Megatools 1.0.0 released

See NEWS file for more details.

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.


Showcase of megatools in a video: View on YouTube in hi-res

Share on: Twitter Google+ Facebook (I care about your privacy, so this page doesn't contact above services unless you click on any of these links. There's also no tracking code on the page.)


You can download the latest source code here:

You can download megatools binaries for windows here (documentation is included):


To install megatools on Arch Linux you can use yaourt. Megatools can be found in AUR.

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 on github or via email:


Project status: Megatools have two branches of development. Stable (1.9.9X) and dev (future 2.0.x). Dev branch contains very nice implementation of various features like sharing, moving files, exports, "anonymous" temporary accounts, etc. It does not allow to upload or download data yet. Stable branch works fine for most basic use cases.

You can join development of megatools on github: