# Installer xmrig avec Homebrew, apk, apt, Nix, pacman, zypper, scoop

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

## installation

```sh
sudo av install brew:xmrig
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install xmrig
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add xmrig
```

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

- Debian apt (92%):

```sh
sudo apt install xmrig
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#xmrig
```

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

- pacman (92%):

```sh
sudo pacman -S xmrig
```

  Preuve: Arch Linux sync databases: xmrig from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install xmrig
```

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

### Windows

- Scoop (92%):

```sh
scoop install extras/xmrig
```

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

## Faits du paquet

- **Clé du paquet:** brew:xmrig
- **Gestionnaire de paquets:** Homebrew
- **Version:** 6.26.0
- **Résumé source:** Monero (XMR) CPU miner
- **Page d'accueil:** <https://xmrig.com/>
- **Dépôt:** <https://github.com/xmrig/xmrig>
- **Dernière mise à jour:** 2026-06-15T10:21:24-04:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- xmrig (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

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

XMRig is the best-known open-source command-line miner in the Monero ecosystem and a broader multi-algorithm mining/benchmarking tool. Its official site describes it as a cross-platform RandomX, KawPow, CryptoNight, and GhostRider CPU/GPU miner, RandomX benchmark, and stratum proxy.

### Historique du projet

The GitHub repository was created in April 2017, during the CryptoNight mining era, and evolved into a cross-platform C/C++ miner with official builds for major desktop and server operating systems. The repository topics and documentation center Monero, XMR, CryptoNight, RandomX, and CPU mining, while the current product page also covers GPU backends and the XMRig Proxy.

A major inflection point was Monero's 2019 RandomX migration. The Monero project announced the November 30, 2019 network upgrade and new long-term proof-of-work algorithm, while XMRig's own RandomX migration guide told miners to update before that date. XMRig 5.0.0, published shortly before the upgrade, was described by the project as the first stable unified CPU plus OpenCL plus CUDA release.

### Historique d'adoption

XMRig adoption is tied to Monero's mining culture, where miners need a fast CLI, pool/daemon configuration, hardware tuning, and cross-platform binaries. The official RandomX optimization guide documents details such as huge pages, 1GB pages on Linux, MSR-related tuning, and cache/QoS behavior, which shows the tool's role as both miner and performance-tuning surface.

The project also became visible outside voluntary mining because XMRig is commonly repackaged or abused in unauthorized cryptomining campaigns. For package-nerd history, that dual reputation matters: the same easy-to-ship, headless, performant binary that helps legitimate miners also made it a recognizable artifact in endpoint security and incident-response work.

### Modes d'utilisation

Legitimate users run xmrig with a config.json file or command-line options pointing at a pool, wallet address, algorithm/coin settings, CPU/GPU backend choices, TLS/proxy options, and performance tuning. The hosted wizard and docs help generate configs, while benchmark mode gives a reproducible way to compare RandomX performance across CPUs.

Operators with many workers can use xmrig-proxy to reduce pool-side connection pressure and centralize stratum traffic. Solo and pool mining setups also intersect with Monero node configuration, P2Pool-style workflows, and hardware-specific tuning.

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

XMRig is a package with a very real operational footprint: one CLI can drive CPU mining, GPU mining, benchmarking, HTTP APIs, and proxy-style deployment. It is significant because it packages hard hardware-specific performance work into something users can install and run like any other Unix tool.

It is also a reminder that package metadata categories can be awkward. XMRig is a cryptocurrency tool, a benchmark, a hardware-tuning workload, and a security indicator depending on context.

### Chronologie

- 2017-04-15: The xmrig/xmrig GitHub repository is created.
- 2019-09-28: XMRig opens its RandomX migration guide for the upcoming Monero network change.
- 2019-11-13: XMRig 5.0.0 is published as the first stable unified CPU/OpenCL/CUDA release.
- 2019-11-30: Monero activates RandomX at block height 1978433.
- 2020s: XMRig continues as a maintained multi-algorithm miner, RandomX benchmark, and related proxy/cloud API ecosystem.

### Related projects

- Monero is the primary cryptocurrency ecosystem associated with XMRig's RandomX mining use.
- XMRig Proxy is the related stratum proxy for large worker deployments.
- XMRig CUDA is the plugin path for NVIDIA CUDA mining support.
- P2Pool and Monero nodes are common adjacent components in decentralized Monero mining setups.

### Sources

- <https://api.github.com/repos/xmrig/xmrig>
- <https://api.github.com/repos/xmrig/xmrig/releases/tags/v5.0.0>
- <https://docs.getmonero.org/technical-specs/>
- <https://github.com/xmrig/xmrig>
- <https://github.com/xmrig/xmrig/issues/1204>
- <https://www.getmonero.org/2019/10/01/announcement-release-0-15.html>
- <https://xmrig.com/>
- <https://xmrig.com/docs/miner/randomx-optimization-guide>
- <https://xmrig.com/proxy>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## 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: config.json in the same directory as the miner executable, ~/.xmrig.json, ~/.config/xmrig.json
## Autres enregistrements de gestionnaires de paquets

- Debian apt - xmrig - 6.22.2+dfsg-2: normalized package name match | Debian stable package indexes: xmrig from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | High performance, open source CPU/GPU miner and RandomX benchmark | https://xmrig.com/
- Nix - xmrig: normalized package name match | nixpkgs package indexes: pkgs/by-name/xm/xmrig/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - xmrig - 6.21.1+dfsg-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: xmrig from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | High performance, open source CPU/GPU miner and RandomX benchmark | https://xmrig.com/
- apk - xmrig - 6.26.0-r0: normalized package name match | Alpine Linux edge package indexes: xmrig from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | XMRig is a high performance Monero (XMR) miner | https://xmrig.com/
- apk - xmrig-doc - 6.26.0-r0: normalized package name match | Alpine Linux edge package indexes: xmrig-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | XMRig is a high performance Monero (XMR) miner (documentation) | https://xmrig.com/
- pacman - xmrig - 6.26.0-1: normalized package name match | Arch Linux sync databases: xmrig from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | RandomX, KawPow, CryptoNight, AstroBWT and GhostRider unified CPU/GPU miner and RandomX benchmark | https://github.com/xmrig/xmrig
- zypper - xmrig - 6.26.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: xmrig from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | XMR mining application | https://xmrig.com/
- Scoop - extras/xmrig: normalized package name match | Scoop official bucket manifest trees: bucket/xmrig.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/xmrig.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xmrig.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
