# megacmd を Homebrew, apk, Nix, scoop でインストール

megacmd のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:megacmd
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install megacmd
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add megacmd
```

  証拠: Alpine Linux edge package indexes: megacmd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#megacmd
```

  証拠: nixpkgs package indexes: pkgs/by-name/me/megacmd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/megacmd
```

  証拠: Scoop official bucket manifest trees: bucket/megacmd.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:megacmd
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.016
- **ソース概要:** Command-line client for mega.co.nz storage service
- **ホームページ:** <https://github.com/t3rm1n4l/megacmd>
- **リポジトリ:** <https://github.com/t3rm1n4l/megacmd>
- **最終更新:** 2026-07-29T17:04:53+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- megacmd (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.016
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://github.com/t3rm1n4l/megacmd>
- <https://github.com/t3rm1n4l/megacmd/releases>
- source_facts.package-manager-url


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## 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

- Unix: ~/.megacmd.json

## Credential files

- Unix: ~/.megacmd.json
## 他のパッケージマネージャ記録

- Nix - megacmd: normalized package name match | nixpkgs package indexes: pkgs/by-name/me/megacmd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - megacmd - 1.6.3-r0: normalized package name match | Alpine Linux edge package indexes: megacmd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command Line Interactive and Scriptable Application to access MEGA | https://github.com/meganz/megacmd
- apk - megacmd-bash-completion - 1.6.3-r0: normalized package name match | Alpine Linux edge package indexes: megacmd-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for megacmd | https://github.com/meganz/megacmd
- Scoop - main/megacmd: normalized package name match | Scoop official bucket manifest trees: bucket/megacmd.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/megacmd.yml](https://github.com/mxcl/pkgdb/blob/main/combined/megacmd.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
