Automic VaultAutomic Vault

brew

Install megatools with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, scoop, zypper

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

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install megatools

MacPorts ports tree · net/megatools/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add megatools

Alpine Linux edge package indexes · megatools · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install megatools

Debian stable package indexes · megatools · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install megatools

Fedora Rawhide package metadata · megatools · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#megatools

nixpkgs package indexes · pkgs/by-name/me/megatools/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install megatools

openSUSE Tumbleweed package metadata · megatools · source: download.opensuse.org

Windows

Chocolateyverified · 92%
choco install megatools

Chocolatey community package catalog · megatools · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/megatools

Scoop official bucket manifest trees · bucket/megatools.json · source: api.github.com

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 post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 3 build dependencies.

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
megacopycliglobal executable
megadfcliglobal executable
megadlcliglobal executable
megaexportcliglobal executable
megagetcliglobal executable
megalscliglobal executable
megamkdircliglobal executable
megaputcliglobal executable
megaregcliglobal executable
megarmcliglobal executable
megatestcliglobal executable
megatoolscliglobal executable

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-07-08
manager version1.11.5.20250706
manager updated2026-05-12
local dataok
upstreamnot checked
latest detectednot detected

https://xff.cz/megatools/

install metadata

Package metadata

Package keybrew:megatools
Version1.11.5.20250706
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/megatools
Homepagehttps://xff.cz/megatools/
Repositoryhttps://xff.cz/git/megatools
Upstream docshttps://xff.cz/megatools
LicenseGPL-2.0-or-later WITH cryptsetup-OpenSSL-exception
Source archivehttps://xff.cz/megatools/builds/megatools-1.11.5.20250706.tar.gz
Last updated2026-05-12T11:37:37-04:00
Pulseupdated
Dependenciesgettext, glib, openssl@3
Build dependenciesmeson, ninja, pkgconf
Uses from macOScurl
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemegatools
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

megatools 1.11.5-1

Command-line client for the Mega cloud storage service

https://xff.cz/megatools/

sudo apt install megatools
  • Section: utils
  • Architecture: amd64
  • 5 dependencies
  • normalized package name match
  • Matched by: Megatools
Debian stable package indexes · deb.debian.org · Debian stable package indexes: megatools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

megatools

nix profile install nixpkgs#megatools
  • normalized package name match
  • Matched by: Megatools
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/me/megatools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

megatools 1.11.1-1build3

Command-line client for the Mega cloud storage service

https://megatools.megous.com/

sudo apt install megatools
  • Section: universe/utils
  • Architecture: amd64
  • 5 dependencies
  • normalized package name match
  • Matched by: Megatools
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: megatools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

megatools 1.11.5.20250706-r0

Collection of programs for accessing Mega.nz service

https://xff.cz/megatools/

sudo apk add megatools
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: megatools
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Megatools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: megatools from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

megatools-bash-completion 1.11.5.20250706-r0

Bash completions for megatools

https://xff.cz/megatools/

sudo apk add megatools-bash-completion
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: megatools
  • normalized package name match
  • Matched by: Megatools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: megatools-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

megatools-doc 1.11.5.20250706-r0

Collection of programs for accessing Mega.nz service (documentation)

https://xff.cz/megatools/

sudo apk add megatools-doc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: megatools
  • normalized package name match
  • Matched by: Megatools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: megatools-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

megatools 1.11.5-4.fc44

Command line client for MEGA

http://xff.cz/

sudo dnf install megatools
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: megatools
  • 8 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Megatools
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: megatools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

megatools 1.11.4-1.3

CLI client for mega.nz

https://megatools.megous.com

sudo zypper install megatools
  • License: GPL-2.0-or-later
  • Category: Productivity/Networking/File-Sharing
  • Architecture: x86_64
  • Source Package: megatools
  • 7 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Megatools
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: megatools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

megatools

sudo port install megatools
  • normalized package name match
  • Matched by: Megatools
MacPorts ports tree · api.github.com · MacPorts ports tree: net/megatools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

megatools

choco install megatools
  • normalized package name match
  • Matched by: Megatools
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: megatools from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.9764','inconsolata'
Scoop95%

main/megatools

scoop install main/megatools
  • normalized package name match
  • Matched by: Megatools
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/megatools.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

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
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment