# MEGAcmd

macOSで対話型コマンドやスクリプトからMEGAサービスにアクセスし、管理するためのコマンドラインツールです。

> これは OpenNavo の MEGAcmd ページの Markdown 版で、内容はウェブページと同じです： <https://opennavo.com/ja/apps/megacmd-app>

- **最新バージョン**: `2.7.1`
- **開発元**: Mega Limited
- **ホームページ**: <https://mega.nz/cmd>
- **カテゴリ**: [ファイルとストレージ](https://opennavo.com/ja/categories/files-storage)
- **インストール**: `brew install --cask megacmd-app`
- **過去 30 日間のインストール数**: 263
- **Homebrew**: インストール可能、Homebrew で更新
- **以前の token**: megacmd
- **ダウンロードURL**: <https://mega.nz/MEGAcmdSetup.dmg>
- **付属コマンド**: mega-attr, mega-backup, mega-cancel, mega-cat, mega-cd, mega-cmd, mega-confirm, mega-confirmcancel, mega-cp, mega-debug, mega-deleteversions, mega-df, mega-du, mega-errorcode, mega-exclude, mega-exec, mega-export, mega-find, mega-ftp, mega-get, mega-graphics, mega-help, mega-https, mega-import, mega-invite, mega-ipc, mega-killsession, mega-lcd, mega-log, mega-login, mega-logout, mega-lpwd, mega-ls, mega-mediainfo, mega-mkdir, mega-mount, mega-mv, mega-passwd, mega-permissions, mega-preview, mega-put, mega-pwd, mega-quit, mega-reload, mega-rm, mega-session, mega-showpcr, mega-signup, mega-speedlimit, mega-sync, mega-thumbnail, mega-transfers, mega-tree, mega-userattr, mega-users, mega-version, mega-webdav, mega-whoami, mega-share, megacmd

## 注意事項

megacmd-app only works if called from /Applications, so you may need to install it with: brew install --cask --appdir=/Applications megacmd-app

## インストールとアンインストールの内容

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "launchctl": "megacmd.mac.megaupdater"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "app": [
        "MEGAcmd.app"
      ],
      "target": "/Applications/MEGAcmd.app"
    },
    "phase": "install",
    "sources": [
      "MEGAcmd.app"
    ],
    "target": "/Applications/MEGAcmd.app",
    "type": "app"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-attr"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-attr"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-attr"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-attr",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-backup"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-backup"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-backup"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-backup",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-cancel"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-cancel"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-cancel"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-cancel",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-cat"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-cat"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-cat"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-cat",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-cd"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-cd"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-cd"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-cd",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-cmd"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-cmd"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-cmd"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-cmd",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-confirm"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-confirm"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-confirm"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-confirm",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-confirmcancel"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-confirmcancel"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-confirmcancel"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-confirmcancel",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-cp"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-cp"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-cp"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-cp",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-debug"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-debug"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-debug"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-debug",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-deleteversions"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-deleteversions"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-deleteversions"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-deleteversions",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-df"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-df"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-df"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-df",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-du"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-du"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-du"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-du",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-errorcode"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-errorcode"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-errorcode"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-errorcode",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-exclude"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-exclude"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-exclude"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-exclude",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-exec"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-exec"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-exec"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-exec",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-export"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-export"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-export"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-export",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-find"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-find"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-find"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-find",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-ftp"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-ftp"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-ftp"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-ftp",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-get"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-get"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-get"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-get",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-graphics"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-graphics"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-graphics"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-graphics",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-help"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-help"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-help"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-help",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-https"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-https"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-https"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-https",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-import"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-import"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-import"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-import",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-invite"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-invite"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-invite"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-invite",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-ipc"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-ipc"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-ipc"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-ipc",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-killsession"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-killsession"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-killsession"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-killsession",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-lcd"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-lcd"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-lcd"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-lcd",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-log"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-log"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-log"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-log",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-login"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-login"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-login"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-login",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-logout"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-logout"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-logout"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-logout",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-lpwd"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-lpwd"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-lpwd"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-lpwd",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-ls"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-ls"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-ls"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-ls",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-mediainfo"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-mediainfo"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-mediainfo"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-mediainfo",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-mkdir"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-mkdir"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-mkdir"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-mkdir",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-mount"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-mount"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-mount"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-mount",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-mv"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-mv"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-mv"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-mv",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-passwd"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-passwd"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-passwd"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-passwd",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-permissions"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-permissions"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-permissions"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-permissions",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-preview"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-preview"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-preview"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-preview",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-put"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-put"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-put"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-put",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-pwd"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-pwd"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-pwd"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-pwd",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-quit"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-quit"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-quit"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-quit",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-reload"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-reload"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-reload"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-reload",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-rm"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-rm"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-rm"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-rm",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-session"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-session"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-session"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-session",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-showpcr"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-showpcr"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-showpcr"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-showpcr",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-signup"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-signup"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-signup"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-signup",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-speedlimit"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-speedlimit"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-speedlimit"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-speedlimit",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-sync"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-sync"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-sync"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-sync",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-thumbnail"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-thumbnail"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-thumbnail"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-thumbnail",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-transfers"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-transfers"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-transfers"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-transfers",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-tree"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-tree"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-tree"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-tree",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-userattr"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-userattr"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-userattr"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-userattr",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-users"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-users"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-users"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-users",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-version"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-version"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-version"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-version",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-webdav"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-webdav"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-webdav"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-webdav",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-whoami"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-whoami"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-whoami"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-whoami",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-share"
      ],
      "target": "$HOMEBREW_PREFIX/bin/mega-share"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/mega-share"
    ],
    "target": "$HOMEBREW_PREFIX/bin/mega-share",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/MEGAcmd.app/Contents/MacOS/MEGAcmdShell",
        {
          "target": "megacmd"
        }
      ],
      "target": "$HOMEBREW_PREFIX/bin/megacmd"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/MEGAcmd.app/Contents/MacOS/MEGAcmdShell"
    ],
    "target": "$HOMEBREW_PREFIX/bin/megacmd",
    "type": "binary"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/.megaCmd",
            "~/Library/Caches/megacmd.mac",
            "~/Library/HTTPStorages/megacmd.mac",
            "~/Library/LaunchAgents/megacmd.mac.megaupdater.plist"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 紹介

MEGAcmdは、コマンドラインからMEGAアカウントとそのデータにアクセスするツールです。このmacOS用caskはMEGAcmdアプリケーションとコマンドラインツールをインストールし、シェルやスクリプトから利用できます。

- 対話型シェルでMEGAアカウントを操作し、フォルダーのような形式で内容をたどれます。
- スクリプトやプログラムから非対話型コマンドを実行し、アカウント操作を自動化できます。
- 同期を利用でき、ローカルフォルダーの定期バックアップを設定して、ファイルの過去のスナップショットを保持できます。
- WebDAVを利用するか、FTPサービスを設定して、これらのプロトコル経由でMEGAファイルにアクセスできます。

Homebrewで `brew install --cask megacmd-app` を実行してインストールします。アプリは `/Applications` にインストールしてください。必要に応じて `brew install --cask --appdir=/Applications megacmd-app` を実行します。インストール後、`megacmd` を実行してシェルを開くか、MEGAcmdのユーザーガイドでコマンド例を確認してください。

この項目はmacOS用の `megacmd-app` caskを対象としており、他のOS向けMEGAcmdパッケージは対象外です。

出典：[MEGAcmd](https://mega.nz/cmd) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/m/megacmd-app.rb)

## システム要件

- macOS 27, 26, 15, 14, 13, 12, 11 向けのビルド · アプリのバージョン: 2.7.1 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/megacmd-app.rb> · 2026-11-23 に確認
  - <https://mega.nz/MEGAcmdSetup.dmg>
- macOS 27, 26, 15, 14, 13, 12, 11 向けのビルド · アプリのバージョン: 2.7.1 · Apple シリコン · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/megacmd-app.rb> · 2026-11-23 に確認
  - <https://mega.nz/MEGAcmdSetup.dmg>

## アンインストール

- `brew uninstall --cask megacmd-app`

通常のアンインストールではアプリ本体だけを削除し、設定とキャッシュは残ります。

### アンインストール時にあわせて処理されるもの

- バックグラウンドサービス（launchctl）: `megacmd.mac.megaupdater` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/megacmd-app.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-11-23 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。

### 完全な削除（任意）

- `brew uninstall --zap --cask megacmd-app`

`--zap` は Homebrew の定義に記載された設定やキャッシュなどのファイルも削除します。ほかのアプリと共有しているデータが含まれる場合があり、削除すると元に戻せません。何も残らないことを保証するものでもありません。残しておきたいデータは先にバックアップしてください。設定とキャッシュを残す場合は、`--zap` を付けないでください。

通常のアンインストールではアプリ本体だけを削除し、設定とキャッシュは残ります。

- ファイルとフォルダ: `~/.megaCmd` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/megacmd-app.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-11-23 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/Caches/megacmd.mac` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/megacmd-app.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-11-23 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/HTTPStorages/megacmd.mac` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/megacmd-app.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-11-23 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/LaunchAgents/megacmd.mac.megaupdater.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/megacmd-app.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-11-23 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。

## 情報と出典

- <https://opennavo.com/ja/apps/megacmd-app>
- <https://opennavo.com/ja/apps/megacmd-app/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/megacmd-app.rb> · 2026-11-23 に確認
- <https://formulae.brew.sh/cask/megacmd-app>
