macOS
brew install megatoolslocal Homebrew formula metadata
sudo port install megatoolsMacPorts ports tree · net/megatools/Portfile · source: api.github.com
brew
Command-line client for Mega.co.nz. Version 1.11.5.20250706 via Homebrew; verified 2026-05-12.
install
brew install megatoolslocal Homebrew formula metadata
sudo port install megatoolsMacPorts ports tree · net/megatools/Portfile · source: api.github.com
sudo apk add megatoolsAlpine Linux edge package indexes · megatools · source: dl-cdn.alpinelinux.org
sudo apt install megatoolsDebian stable package indexes · megatools · source: deb.debian.org
sudo dnf install megatoolsFedora Rawhide package metadata · megatools · source: dl.fedoraproject.org
nix profile install nixpkgs#megatoolsnixpkgs package indexes · pkgs/by-name/me/megatools/package.nix · source: api.github.com
sudo zypper install megatoolsopenSUSE Tumbleweed package metadata · megatools · source: download.opensuse.org
choco install megatoolsChocolatey community package catalog · megatools · source: community.chocolatey.org
scoop install main/megatoolsScoop official bucket manifest trees · bucket/megatools.json · source: api.github.com
overview
Command-line client for Mega.co.nz
history
Megatools is an independent suite of command-line programs for Mega.nz cloud storage. The official site describes tools for copying individual files or directory trees, streaming downloads, account registration, cloud filesystem inspection, and management of public Mega links.
Ondrej Jirman released Megatools 1.0.0 in March 2013, shortly after Mega.nz became a popular encrypted cloud storage target. The project was written as a Free Software alternative to browser-centric workflows, and the official site emphasizes simple, reviewable code and user control over encryption keys.
The suite evolved from separate commands such as megadl, megaput, megals, megarm, and megareg toward a single megatools binary with subcommands and compatibility links. Its manual pages document both the unified command and individual command pages, while the megarc manual documents the INI configuration file used for login credentials and transfer settings.
Development moved off GitHub in April 2019, and the official Git repository and website now live under xff.cz. The project remains maintained, with 2020s releases adapting to Mega protocol changes, new link formats, login flow changes, shared-folder behavior, and anti-abuse responses from Mega.
Megatools achieved broad distro and package-manager adoption for a niche cloud client. The upstream site notes Debian unstable acceptance and Arch Linux repository availability, and the supplied package facts list Homebrew, Debian, Ubuntu, Fedora, openSUSE, MacPorts, Nix, Chocolatey, Scoop, Alpine, and other packages.
That spread matters because Mega users often want the tool on headless servers, NAS boxes, CI jobs, and rescue shells where the official web client is not useful. Static Windows and Linux builds on the official site further widened use outside source builds.
Megatools is used for command-line Mega storage operations: megatools ls, df, put, get, copy, mkdir, rm, export, dl, and reg. The man page also describes Mega's remote filesystem mapping, including /Root, /Trash, and /Shared paths.
Credentials are usually stored in ~/.megarc or ./.megarc under a [Login] section with Username and Password fields. The same file can hold cache, network, upload, and UI settings.
Megatools is the durable C/GLib-era Mega client that distribution maintainers kept carrying because it solved a real CLI gap. Package nerds care about it for its long-lived ABI/dependency concerns, its move from GitHub to self-hosted cgit, and its repeated adaptations to an unofficial but changing cloud-service API.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.megarc./.megarcCredential-bearing paths to review before unattended agent runs.
~/.megarc./.megarcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
megacopy | cli | global executable | |
megadf | cli | global executable | |
megadl | cli | global executable | |
megaexport | cli | global executable | |
megaget | cli | global executable | |
megals | cli | global executable | |
megamkdir | cli | global executable | |
megaput | cli | global executable | |
megareg | cli | global executable | |
megarm | cli | global executable | |
megatest | cli | global executable | |
megatools | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:megatools |
|---|---|
| Version | 1.11.5.20250706 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/megatools |
| Homepage | https://xff.cz/megatools/ |
| Repository | https://xff.cz/git/megatools |
| Upstream docs | https://xff.cz/megatools |
| License | GPL-2.0-or-later WITH cryptsetup-OpenSSL-exception |
| Source archive | https://xff.cz/megatools/builds/megatools-1.11.5.20250706.tar.gz |
| Last updated | 2026-05-12T11:37:37-04:00 |
| Pulse | updated |
| Dependencies | gettext, glib, openssl@3 |
| Build dependencies | meson, ninja, pkgconf |
| Uses from macOS | curl |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | megatools |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
megatools 1.11.5-1
Command-line client for the Mega cloud storage service
sudo apt install megatoolsmegatools
nix profile install nixpkgs#megatoolsmegatools 1.11.1-1build3
Command-line client for the Mega cloud storage service
sudo apt install megatoolsmegatools 1.11.5.20250706-r0
Collection of programs for accessing Mega.nz service
sudo apk add megatoolsmegatools-bash-completion 1.11.5.20250706-r0
Bash completions for megatools
sudo apk add megatools-bash-completionmegatools-doc 1.11.5.20250706-r0
Collection of programs for accessing Mega.nz service (documentation)
sudo apk add megatools-docmegatools 1.11.5-4.fc44
Command line client for MEGA
sudo dnf install megatoolsmegatools 1.11.4-1.3
CLI client for mega.nz
sudo zypper install megatoolsmegatools
sudo port install megatoolsmegatools
choco install megatoolsmain/megatools
scoop install main/megatoolssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.