macOS
brew install megatoolsprovider-native install command
brew / rank 3554
Command-line client for Mega.co.nz. Version 1.11.5.20250706 via Homebrew; verified 2026-05-12.
install
brew install megatoolsprovider-native install command
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 | executable | indexed executable | Discovered from the local executable index. |
megadf | executable | indexed executable | Discovered from the local executable index. |
megadl | executable | indexed executable | Discovered from the local executable index. |
megaexport | executable | indexed executable | Discovered from the local executable index. |
megaget | executable | indexed executable | Discovered from the local executable index. |
megals | executable | indexed executable | Discovered from the local executable index. |
megamkdir | executable | indexed executable | Discovered from the local executable index. |
megaput | executable | indexed executable | Discovered from the local executable index. |
megareg | executable | indexed executable | Discovered from the local executable index. |
megarm | executable | indexed executable | Discovered from the local executable index. |
megatest | executable | indexed executable | Discovered from the local executable index. |
megatools | executable | indexed executable | Discovered from the local executable index. |
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 |
| Homepage | https://xff.cz/megatools/ |
| Last updated | 2026-05-12T11:37:37-04:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source 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.