pkg.sopackage field notes

brew / rank 3554

Install megatools with Homebrew

Command-line client for Mega.co.nz. Version 1.11.5.20250706 via Homebrew; verified 2026-05-12.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install megatools

provider-native install command

overview

Package summary

Command-line client for Mega.co.nz

Commands and aliases

  • megacopy
  • megadf
  • megadl
  • megaexport
  • megaget
  • megals
  • megamkdir
  • megaput
  • megareg
  • megarm
  • megatest
  • megatools

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2013-03-08: Megatools 1.0.0 released.
  • 2013-04-12: Version 1.9.90 released under GPL with an experimental libmega library and language bindings.
  • 2018-07-19: 1.10.0 release candidates added major transfer optimizations, upload parallelism, and interrupted download resumption.
  • 2019-04-13: Project moved off GitHub.
  • 2022-05-19: Megatools 1.11.0 released.
  • 2025-01-27: Project domain moved from megatools.megous.com to xff.cz/megatools.
  • 2026-05-27: Site notes modernization for Mega.nz protocol changes and full support for new-style shared folders.

Related projects

  • Mega.nz: the cloud storage service Megatools targets.
  • megacmd: a separate Go command-line client for Mega.
  • rclone: a broader cloud-storage sync tool with Mega support.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:client

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.megarc./.megarc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.megarc./.megarc

executables

Installed executables

CommandKindExposureNote
megacopyexecutableindexed executableDiscovered from the local executable index.
megadfexecutableindexed executableDiscovered from the local executable index.
megadlexecutableindexed executableDiscovered from the local executable index.
megaexportexecutableindexed executableDiscovered from the local executable index.
megagetexecutableindexed executableDiscovered from the local executable index.
megalsexecutableindexed executableDiscovered from the local executable index.
megamkdirexecutableindexed executableDiscovered from the local executable index.
megaputexecutableindexed executableDiscovered from the local executable index.
megaregexecutableindexed executableDiscovered from the local executable index.
megarmexecutableindexed executableDiscovered from the local executable index.
megatestexecutableindexed executableDiscovered from the local executable index.
megatoolsexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version1.11.5.20250706
manager updated2026-05-12
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:megatools
Version1.11.5.20250706
Package managerHomebrew
Homepagehttps://xff.cz/megatools/
Last updated2026-05-12T11:37:37-04:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation