Automic VaultAutomic Vault

brew

使用 Homebrew, apk, Nix, scoop 安装 megacmd

查看 megacmd 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install megacmd

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add megacmd

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

Nix已验证 · 92%
nix profile install nixpkgs#megacmd

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

Windows

Scoop已验证 · 92%
scoop install main/megacmd

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

概览

软件包摘要

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

命令和别名

  • megacmd

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:client

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
megacmdcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.016
管理器更新时间
本地数据OK
上游当前
检测到的最新版本0.016

https://github.com/t3rm1n4l/megacmd

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:megacmd
版本0.016
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/megacmd
主页https://github.com/t3rm1n4l/megacmd
仓库https://github.com/t3rm1n4l/megacmd
上游文档https://github.com/t3rm1n4l/megacmd
许可证MIT
源码归档https://github.com/t3rm1n4l/megacmd/archive/refs/tags/0.016.tar.gz
构建依赖go
Bottle可用 (于 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-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

megacmd

nix profile install nixpkgs#megacmd
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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