Automic VaultAutomic Vault

brew

Install megacmd with Homebrew, apk, Nix, scoop

Command-line client for mega.co.nz storage service. Version 0.016 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install megacmd

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add megacmd

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

Nixverified · 92%
nix profile install nixpkgs#megacmd

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

Windows

Scoopverified · 92%
scoop install main/megacmd

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

overview

Package summary

Command-line client for mega.co.nz storage service

Commands and aliases

  • megacmd

history

Project history and usage

megacmd is a Go command-line client for the Mega cloud storage service. Its README describes it as a tool for file and directory transfer between local directories and Mega, with commands for listing, uploading, downloading, deleting, moving, making directories, and syncing.

Project history

The project emerged during the early Mega.co.nz era, when Mega offered a web interface but relatively few Unix-style command-line clients. The README links its design to go-mega and compares its transfer-oriented workflow to s3cmd, positioning megacmd as a familiar CLI layer over a cloud-storage API.

Maintenance later slowed. The upstream README states that the project is no longer fully maintained, with light maintenance focused mostly on the underlying go-mega library, which is also used for Mega support in rclone.

Adoption history

megacmd remained a small but packaged utility rather than a large ecosystem project. The supplied package facts list packages in Homebrew, Nix, Scoop, and Alpine, showing that it was kept useful enough for package managers even after upstream maintenance became light.

How it is used

Typical usage centers on scripted file transfer to and from Mega paths such as mega:/foo/bar. The README documents put, get, list, delete, mkdir, move, and sync operations, plus parallel upload and download workers configured in ~/.megacmd.json.

Because ~/.megacmd.json stores the Mega username and password alongside transfer settings, package users should treat the file as both configuration and credential material.

Why package nerds care

For package maintainers, megacmd is interesting as an early third-party Mega CLI written in Go, with vendored protocol/client code and a small release history. It also illustrates the packaging problem of cloud-service CLIs whose upstream API can change while the client itself is only lightly maintained.

Timeline

  • 2013: README examples and the linked protocol blog place early megacmd usage in the first wave of Mega command-line tooling.
  • 2019: GitHub lists release 0.016 as the latest release.
  • Later: Upstream README notes the project is no longer fully maintained.

Related projects

  • go-mega: the Go Mega client library used underneath megacmd.
  • rclone: the upstream README notes Mega work in go-mega is also used for rclone's Mega backend.
  • Megatools: another independent command-line suite for Mega.nz.

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 13 platform targets.
  • Build metadata lists 1 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
~/.megacmd.json

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.megacmd.json

executables

Installed executables

CommandKindExposureNote
megacmdcliglobal 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 version0.016
manager updated
local dataok
upstreamcurrent
latest detected0.016

https://github.com/t3rm1n4l/megacmd

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:megacmd
Version0.016
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/megacmd
Homepagehttps://github.com/t3rm1n4l/megacmd
Repositoryhttps://github.com/t3rm1n4l/megacmd
Upstream docshttps://github.com/t3rm1n4l/megacmd
LicenseMIT
Source archivehttps://github.com/t3rm1n4l/megacmd/archive/refs/tags/0.016.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemegacmd
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • 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.

Nix95%

megacmd

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

megacmd 1.6.3-r0

Command Line Interactive and Scriptable Application to access MEGA

https://github.com/meganz/megacmd

sudo apk add megacmd
  • License: BSD-2-Clause AND GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: megacmd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Megacmd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: megacmd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

megacmd-bash-completion 1.6.3-r0

Bash completions for megacmd

https://github.com/meganz/megacmd

sudo apk add megacmd-bash-completion
  • License: BSD-2-Clause AND GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: megacmd
  • normalized package name match
  • Matched by: Megacmd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: megacmd-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
Scoop95%

main/megacmd

scoop install main/megacmd
  • normalized package name match
  • Matched by: Megacmd
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/megacmd.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