# Installer megatools avec Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, zypper, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de megatools pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:megatools
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install megatools
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install megatools
```

  Preuve: MacPorts ports tree: net/megatools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add megatools
```

  Preuve: Alpine Linux edge package indexes: megatools from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install megatools
```

  Preuve: Debian stable package indexes: megatools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install megatools
```

  Preuve: Fedora Rawhide package metadata: megatools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#megatools
```

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

- zypper (92%):

```sh
sudo zypper install megatools
```

  Preuve: openSUSE Tumbleweed package metadata: megatools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install megatools
```

  Preuve: Chocolatey community package catalog: megatools from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.9764','dropkick'

- Scoop (92%):

```sh
scoop install main/megatools
```

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

## Faits du paquet

- **Clé du paquet:** brew:megatools
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.11.5.20250706
- **Résumé source:** Command-line client for Mega.co.nz
- **Page d'accueil:** <https://xff.cz/megatools/>
- **Dernière mise à jour:** 2026-05-12T11:37:37-04:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- megacopy (alias)
- megadf (alias)
- megadl (alias)
- megaexport (alias)
- megaget (alias)
- megals (alias)
- megamkdir (alias)
- megaput (alias)
- megareg (alias)
- megarm (alias)
- megatest (alias)
- megatools (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.11.5.20250706
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://xff.cz/git/megatools>
- <https://xff.cz/megatools/>
- <https://xff.cz/megatools/man/megarc.html>
- <https://xff.cz/megatools/man/megatools.html>
- source_facts.package-manager-url


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- 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: ~/.megarc, ./.megarc

## Credential files

- Unix: ~/.megarc, ./.megarc
## Autres enregistrements de gestionnaires de paquets

- Debian apt - megatools - 1.11.5-1: normalized package name match | Debian stable package indexes: megatools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command-line client for the Mega cloud storage service | https://xff.cz/megatools/
- Nix - megatools: normalized package name match | nixpkgs package indexes: pkgs/by-name/me/megatools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - megatools - 1.11.1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: megatools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line client for the Mega cloud storage service | https://megatools.megous.com/
- apk - megatools - 1.11.5.20250706-r0: normalized package name match | Alpine Linux edge package indexes: megatools from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Collection of programs for accessing Mega.nz service | https://xff.cz/megatools/
- apk - megatools-bash-completion - 1.11.5.20250706-r0: normalized package name match | Alpine Linux edge package indexes: megatools-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for megatools | https://xff.cz/megatools/
- apk - megatools-doc - 1.11.5.20250706-r0: normalized package name match | Alpine Linux edge package indexes: megatools-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Collection of programs for accessing Mega.nz service (documentation) | https://xff.cz/megatools/
- dnf - megatools - 1.11.5-6.fc45: normalized package name match | Fedora Rawhide package metadata: megatools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command line client for MEGA | http://xff.cz/
- zypper - megatools - 1.11.4-1.5: normalized package name match | openSUSE Tumbleweed package metadata: megatools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI client for mega.nz | https://megatools.megous.com
- MacPorts - megatools: normalized package name match | MacPorts ports tree: net/megatools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - megatools: normalized package name match | Chocolatey community package catalog: megatools from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.9764','dropkick'
- Scoop - main/megatools: normalized package name match | Scoop official bucket manifest trees: bucket/megatools.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/megatools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/megatools.yml)


## Sources

- 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
