You are here:
Estimated reading time: 1 min

This article will show you how to install Megatools. Megatools is a set of command line tools for accessing cloud storage.

You’ll need to execute some commands via SSH to use this software. There is a separate guide on how to connect to your slot via SSH. Commands are kept as simple as possible and in most cases will simply need to be copied and pasted into the terminal window (then executed by pressing the Enter key).


Install Megatools by logging in via SSH, then copying and pasting the following:

mkdir -p ~/bin
wget -qO megatools.tar.gz
tar xf megatools.tar.gz
cd ~/megatools-*/
./configure --prefix=$HOME --disable-docs
make && make install
cd && rm -rf ~/megatools/

Installation notes

If your binary directory (~/bin) is not in PATH you’ll need to give the full path when trying to run the software in that directory. A better alternative is to add the bin directory to PATH.

Using Megatools

Megatools features the following binaries:

synchronize local and remote directories
display storage quotas/usage
download exported files from
download individual files from
list files stored at
create directories at
upload files to
register a new account
remove files from

You can get the usage guide by running the binary name with the --help-basic or --help-all options:

[server ~] megaget --help-all
  megaget [OPTION…] - download individual files from

Help Options:
  -h, --help                  Show help options
  --help-all                  Show all help options
  --help-basic                Show basic options
  --help-network              Show network options
  --help-auth                 Show authentication options

Basic Options:
  --config=PATH               Load configuration from a file
  --ignore-config-file        Disable loading .megarc
  --debug=OPTS                Enable debugging output
  --version                   Show version information

Network Options:
  --limit-speed=SPEED         Limit transfer speed (KiB/s)
  --proxy=PROXY               Proxy setup string

Authentication Options:
  -u, --username=USERNAME     Account username (email)
  -p, --password=PASSWORD     Account password
  --no-ask-password           Never ask interactively for a password
  --reload                    Reload filesystem cache

Application Options:
  --path=PATH                 Local directory or file name, to save data to
  --no-progress               Disable progress bar


Learning is not attained by chance, it must be sought for with ardor and attended to with diligence.Never give up on a dream just because of the time it will take to accomplish it. The time will pass anyway.

Was this article helpful?
Dislike 0
Views: 483

Privacy Preference Center