×
Logo
  • News
  • Pricing
  • Contact
  • Client Area
Control Panel

Search

Applications

Client Area

Community

Connection Details

Control Panel

Getting Started

Misc Guides

Rclone

Torrent Clients

Unofficial Application Installers

Unofficial Language Installers

Unofficial SSH Utilities

Share your knowledge, submit a guide!

Ultra.cc Documentation
Ultra.cc Documentation
📘

Set up megatools

Set up megatools

All unofficial utilities are provided for your convenience. The scripts are provided as-is and may not be updated or maintained by Ultra.cc. Clients are welcome to use and customize unofficial scripts for their unique needs and requirements. Unofficial support may be offered via Discord only and at the sole discretion of Ultra.cc staff.
Use at your own risk.

megatools is a collection of programs for accessing and managing Mega.co.nz account from your terminal. It allows the following features:

  • Copy individual files as well as entire directory trees to and from your account
  • Perform streaming downloads without needing to download the entire file.
  • Register your account using the megatools reg command, with the benefit of having proper control of your encryption keys.

In this short guide, we will show you how to install/upgrade and uninstall megatools on your Ultra service, as well as a short description of the commands you can use with megatools.

Install/Upgrade/Uninstall megatools

  • Connect to your Ultra service via SSH.
  • Execute the following command.
bash <(wget -qO- https://scripts.ultra.cc/hub/main-v2/Megatools/megatools-installer.sh)

Usage Instructions

  • Listed below are the following commands of megatools.
  • You can get the usage guide by running megatools --help options.
  • You may also view the latest man pages here.

If you require further assistance, you can open a support ticket here!

Feedback and suggestions regarding this article are welcome on our Discord server

  • Set up megatools
  • Install/Upgrade/Uninstall megatools
  • Usage Instructions
Logo

© 2025 SlashN Services Pte. Ltd. All rights reserved.

Discord
megatools reg
	Register and verify a new mega account
megatools df
	Show your cloud storage space usage/quota
megatools ls
	List all remote files
megatools test
	Test for existence of files or folders
megatools export
	Create public links for remote files
megatools mkdir
	Create remote directory
megatools rm
	Remove remote file or directory
megatools put
	Upload individual files
megatools get
	Download individual files
megatools dl
	Download file from a "public" Mega link (doesn’t require login)
megatools copy
	Upload or download a directory tree